mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
reduced game selector minimum height; server race conditions fixed
This commit is contained in:
parent
7ae0e31964
commit
2d8b12a576
9 changed files with 40 additions and 45 deletions
|
|
@ -69,8 +69,7 @@ ServerSocketInterface::~ServerSocketInterface()
|
|||
delete socket;
|
||||
socket = 0;
|
||||
|
||||
// This call has to stay here so that the mutex is not freed prematurely.
|
||||
server->removeClient(this);
|
||||
prepareDestroy();
|
||||
}
|
||||
|
||||
void ServerSocketInterface::processProtocolItem(ProtocolItem *item)
|
||||
|
|
@ -94,8 +93,6 @@ void ServerSocketInterface::flushXmlBuffer()
|
|||
|
||||
void ServerSocketInterface::readClient()
|
||||
{
|
||||
QMutexLocker locker(&protocolHandlerMutex);
|
||||
|
||||
QByteArray data = socket->readAll();
|
||||
logger->logMessage(QString(data));
|
||||
xmlReader->addData(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue