Trying to fix server termination issue.
This commit is contained in:
@@ -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