Trying to fix server termination issue.

This commit is contained in:
lotodore
2009-02-27 22:09:03 +00:00
parent cc197bbc00
commit e5ecc5d133
+5
View File
@@ -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();