Improve thread safety.
This commit is contained in:
1 parent
b6c820718a
commit
2a7456998a
10 files changed
+51
-39
No files matched your search
@@ -1219,7 +1219,7 @@ void
|
||||
ClientThread::RemoveDisconnectedPlayers()
|
||||
{
|
||||
// This should only be called between hands.
|
||||
if (m_game.get())
|
||||
if (m_game)
|
||||
{
|
||||
PlayerListIterator it;
|
||||
for (it = m_game->getSeatsList()->begin(); it != m_game->getSeatsList()->end(); it++)
|
||||
|
||||
Reference in new issue
Block a user