mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 04:53:04 +00:00
Fix multiple application instances on Windows.
This commit is contained in:
parent
8420dab6c5
commit
9c4159e00e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue