server deadlock fix #2

This commit is contained in:
Max-Wilhelm Bruker 2013-01-26 17:03:31 +01:00
parent 8d596619e7
commit 4f97db62d7

View file

@ -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();
} }