mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-02 00:00:07 -08:00
added flush call
This commit is contained in:
@@ -100,6 +100,7 @@ void ServerSocketInterface::catchSocketError(QAbstractSocket::SocketError socket
|
||||
void ServerSocketInterface::sendProtocolItem(ProtocolItem *item, bool deleteItem)
|
||||
{
|
||||
item->write(xmlWriter);
|
||||
socket->flush();
|
||||
if (deleteItem)
|
||||
delete item;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user