added another thread guard
This commit is contained in:
parent
3b06db30e9
commit
c76b1600dd
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue
Block a user