Trying to fix server termination issue.
This commit is contained in:
1 parent
cc197bbc00
commit
e5ecc5d133
1 file changed
+5
@@ -389,7 +389,12 @@ ServerLobbyThread::Main()
|
||||
LOG_ERROR(e.what());
|
||||
}
|
||||
|
||||
// Stop all running games.
|
||||
TerminateGames();
|
||||
// Remove all sessions.
|
||||
m_gameSessionManager.Clear();
|
||||
m_sessionManager.Clear();
|
||||
// Stop sender thread.
|
||||
m_sender->SignalStop();
|
||||
m_sender->WaitStop();
|
||||
|
||||
|
||||
Reference in new issue
Block a user