race condition fixed

This commit is contained in:
Max-Wilhelm Bruker
2011-04-13 03:08:44 +02:00
parent 091a2ed6b2
commit 7ae0e31964
7 changed files with 3 additions and 15 deletions

View File

@@ -54,6 +54,8 @@ ServerSocketInterface::ServerSocketInterface(Servatrice *_server, QTcpSocket *_s
deleteLater();
} else
sendProtocolItem(new Event_ServerMessage(Servatrice::versionString));
server->addClient(this);
}
ServerSocketInterface::~ServerSocketInterface()