Commit 4f97db62 authored by Max-Wilhelm Bruker's avatar Max-Wilhelm Bruker
Browse files

server deadlock fix #2

parent 8d596619
...@@ -206,7 +206,9 @@ void ServerSocketInterface::flushOutputQueue() ...@@ -206,7 +206,9 @@ void ServerSocketInterface::flushOutputQueue()
totalBytes += size + 4; totalBytes += size + 4;
locker.relock(); locker.relock();
} }
locker.unlock();
servatrice->incTxBytes(totalBytes); servatrice->incTxBytes(totalBytes);
// see above wrt mutex
socket->flush(); socket->flush();
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment