Fix multiple application instances on Windows.

This commit is contained in:
Julien Wadel 2024-02-19 09:13:45 +01:00
parent 8420dab6c5
commit 9c4159e00e

View file

@ -316,7 +316,7 @@ bool SingleApplicationPrivate::writeConfirmedFrame( int msecs, const QByteArray
socket->write( msg );
socket->flush();
bool result = socket->waitForReadyRead( msecs ); // await ack byte
bool result = socket->waitForReadyRead( msecs < 0 ? -1 : msecs ); // await ack byte
if (result) {
socket->read( 1 );
return true;