Core/Logging: Force synchronous logging after io_service shutdown - fixes logging on worldserver shutdown

(cherry picked from commit a0b2be6c1d)
This commit is contained in:
Shauren
2016-02-23 23:41:18 +01:00
parent 9fc5c4bc41
commit c71987b1a1
3 changed files with 10 additions and 0 deletions

View File

@@ -243,6 +243,8 @@ extern int main(int argc, char** argv)
// Shutdown starts here
ShutdownThreadPool(threadPool);
sLog->SetSynchronous();
sScriptMgr->OnShutdown();
sWorld->KickAll(); // save and kick all players