-bugfix for mutex in custom menu

This commit is contained in:
Mark Vejvoda 2010-06-11 19:00:17 +00:00
parent 4debe015ce
commit 25bc515466
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ void MenuStateCustomGame::mouseClick(int x, int y, MouseButton mouseButton){
safeMutex.Lock();
delete publishToMasterserverThread;
publishToMasterserverThread = NULL;
safeMutex.ReleaseLock(true);
safeMutex.ReleaseLock();
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line %d]\n",__FILE__,__FUNCTION__,__LINE__);