mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Core/Logging: Force synchronous logging after io_service shutdown - fixes logging on worldserver shutdown
(cherry picked from commit a0b2be6c1d)
This commit is contained in:
@@ -248,6 +248,8 @@ extern int main(int argc, char** argv)
|
||||
// Shutdown starts here
|
||||
ShutdownThreadPool(threadPool);
|
||||
|
||||
sLog->SetSynchronous();
|
||||
|
||||
sScriptMgr->OnShutdown();
|
||||
|
||||
sIpcContext->Close();
|
||||
|
||||
Reference in New Issue
Block a user