Merge integration refs/builds/qtci/dev/1617208505
This commit is contained in:
commit
8f6d8d7cd8
@ -219,7 +219,7 @@ QT_BEGIN_NAMESPACE
|
|||||||
Attempts to close the socket. If there is pending data waiting to be
|
Attempts to close the socket. If there is pending data waiting to be
|
||||||
written, QLocalSocket will enter ClosingState and wait until all data
|
written, QLocalSocket will enter ClosingState and wait until all data
|
||||||
has been written. Eventually, it will enter UnconnectedState and emit
|
has been written. Eventually, it will enter UnconnectedState and emit
|
||||||
the disconnectedFromServer() signal.
|
the disconnected() signal.
|
||||||
|
|
||||||
\sa connectToServer()
|
\sa connectToServer()
|
||||||
*/
|
*/
|
||||||
|
@ -260,13 +260,10 @@ void QLocalSocketPrivate::_q_pipeClosed()
|
|||||||
emit q->disconnected();
|
emit q->disconnected();
|
||||||
|
|
||||||
pipeReader->stop();
|
pipeReader->stop();
|
||||||
|
delete pipeWriter;
|
||||||
|
pipeWriter = nullptr;
|
||||||
destroyPipeHandles();
|
destroyPipeHandles();
|
||||||
handle = INVALID_HANDLE_VALUE;
|
handle = INVALID_HANDLE_VALUE;
|
||||||
|
|
||||||
if (pipeWriter) {
|
|
||||||
delete pipeWriter;
|
|
||||||
pipeWriter = 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
qint64 QLocalSocket::bytesAvailable() const
|
qint64 QLocalSocket::bytesAvailable() const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user