mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
server deadlock fix #2
This commit is contained in:
parent
8d596619e7
commit
4f97db62d7
1 changed files with 2 additions and 0 deletions
|
|
@ -206,7 +206,9 @@ void ServerSocketInterface::flushOutputQueue()
|
|||
totalBytes += size + 4;
|
||||
locker.relock();
|
||||
}
|
||||
locker.unlock();
|
||||
servatrice->incTxBytes(totalBytes);
|
||||
// see above wrt mutex
|
||||
socket->flush();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue