added flush call
This commit is contained in:
parent
fd828986e5
commit
069fbe8dae
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue