mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-19 23:34:59 -05:00
thread fixes
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user