Refactored singletons to enable proper deconstruction during shutdown
This commit is contained in:
1 parent
d2c120f2c2
commit
dce92611f3
39 files changed
+83
-84
No files matched your search
@@ -99,9 +99,9 @@ int main(int argc, char** argv)
|
||||
return 1;
|
||||
|
||||
// Get the list of realms for the server
|
||||
sRealmList.Initialize(_ioService, sConfigMgr->GetIntDefault("RealmsStateUpdateDelay", 20));
|
||||
sRealmList->Initialize(_ioService, sConfigMgr->GetIntDefault("RealmsStateUpdateDelay", 20));
|
||||
|
||||
if (sRealmList.size() == 0)
|
||||
if (sRealmList->size() == 0)
|
||||
{
|
||||
TC_LOG_ERROR("server.authserver", "No valid realms specified.");
|
||||
return 1;
|
||||
|
||||
Reference in new issue
Block a user