feat(Core/Misc): remove and replace ACE_Singleton (#2418)

This commit is contained in:
Kargatum 2019-12-21 00:29:29 +07:00 committed by GitHub
parent 16b45bf334
commit 4a8f1de538
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
88 changed files with 486 additions and 250 deletions

View file

@ -219,6 +219,12 @@ WorldSocketMgr::~WorldSocketMgr()
delete m_Acceptor;
}
WorldSocketMgr* WorldSocketMgr::instance()
{
static WorldSocketMgr instance;
return &instance;
}
int
WorldSocketMgr::StartReactiveIO (uint16 port, const char* address)
{