game list mutex in S_PH

This commit is contained in:
Max-Wilhelm Bruker
2011-04-17 16:31:03 +02:00
parent 2d8b12a576
commit 9933b219a9
4 changed files with 21 additions and 5 deletions

View File

@@ -18,6 +18,7 @@ Server_Player::Server_Player(Server_Game *_game, int _playerId, ServerInfo_User
Server_Player::~Server_Player()
{
QMutexLocker locker(&game->gameMutex);
QMutexLocker locker2(&playerMutex);
delete deck;