mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-01 07:27:40 -08:00
server deadlock fix #2
This commit is contained in:
@@ -206,7 +206,9 @@ void ServerSocketInterface::flushOutputQueue()
|
||||
totalBytes += size + 4;
|
||||
locker.relock();
|
||||
}
|
||||
locker.unlock();
|
||||
servatrice->incTxBytes(totalBytes);
|
||||
// see above wrt mutex
|
||||
socket->flush();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user