LocalServer crash fix

This commit is contained in:
Max-Wilhelm Bruker
2011-05-08 17:56:52 +02:00
parent 5fa2f019d0
commit 461a62e0c8
7 changed files with 28 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ Server_ProtocolHandler::~Server_ProtocolHandler()
void Server_ProtocolHandler::prepareDestroy()
{
QMutexLocker locker(&server->serverMutex);
qDebug("Server_ProtocolHandler::prepareDestroy");
server->removeClient(this);