thread fixes

This commit is contained in:
Max-Wilhelm Bruker 2011-04-18 18:55:35 +02:00
parent e6fc20114e
commit 69fce1fb5d
7 changed files with 23 additions and 1 deletions

View file

@ -103,6 +103,8 @@ void Server_Room::removeGame()
QMutexLocker locker(&roomMutex);
Server_Game *game = static_cast<Server_Game *>(sender());
QMutexLocker gameLocker(&game->gameMutex);
broadcastGameListUpdate(game);
games.remove(game->getGameId());