added another thread guard

This commit is contained in:
Mark Vejvoda 2010-06-05 00:27:33 +00:00
parent 3b06db30e9
commit c76b1600dd

View File

@ -1371,6 +1371,7 @@ void MenuStateCustomGame::updateControlers(){
void MenuStateCustomGame::closeUnusedSlots(){
try {
MutexSafeWrapper safeMutex(&masterServerThreadAccessor);
ServerInterface* serverInterface= NetworkManager::getInstance().getServerInterface();
for(int i= 0; i<mapInfo.players; ++i){
if(listBoxControls[i].getSelectedItemIndex()==ctNetwork){