From 25bc5154662d430971e5c4c44bc0406a30c78bdc Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Fri, 11 Jun 2010 19:00:17 +0000 Subject: [PATCH] -bugfix for mutex in custom menu --- source/glest_game/menu/menu_state_custom_game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/menu/menu_state_custom_game.cpp b/source/glest_game/menu/menu_state_custom_game.cpp index a59585cf..682b55fa 100644 --- a/source/glest_game/menu/menu_state_custom_game.cpp +++ b/source/glest_game/menu/menu_state_custom_game.cpp @@ -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__);