From c76b1600ddb6d9802e76f232ecb56d6e44721d62 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sat, 5 Jun 2010 00:27:33 +0000 Subject: [PATCH] added another thread guard --- source/glest_game/menu/menu_state_custom_game.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/glest_game/menu/menu_state_custom_game.cpp b/source/glest_game/menu/menu_state_custom_game.cpp index cb172235c..c886972c6 100644 --- a/source/glest_game/menu/menu_state_custom_game.cpp +++ b/source/glest_game/menu/menu_state_custom_game.cpp @@ -1371,6 +1371,7 @@ void MenuStateCustomGame::updateControlers(){ void MenuStateCustomGame::closeUnusedSlots(){ try { + MutexSafeWrapper safeMutex(&masterServerThreadAccessor); ServerInterface* serverInterface= NetworkManager::getInstance().getServerInterface(); for(int i= 0; i