path: root/src/gui/opengl/qopenglvertexarrayobject_p.h
diff options
authorAlex Trotsenko <>2021-07-22 16:55:47 +0300
committerAlex Trotsenko <>2021-07-24 16:55:43 +0300
commit6481733d45805ecbe22a0806923ee2e0894ecc28 (patch)
treeca88956618c45ab3ba43c3005cdbd22e9b888671 /src/gui/opengl/qopenglvertexarrayobject_p.h
parent594948a07b8086c96ba720e92473c6175d4ac918 (diff)
QLocalSocket/Win: do not flush the pipe in disconnectFromServer()
In the case where we have pending data to write, calling flush() here may cause the device to close immediately, if the pipe writer already got a result of the last operation from the thread pool. In this scenario, the device does not enter the 'Closing' state, which leads the following code to unexpectedly fail on Windows socket.write(...); socket.disconnectFromServer(); QVERIFY(socket.waitForDisconnected()); Removing the call to flush() makes the behavior consistent with the implementation on Unix. Change-Id: Ic31fbc999be979c1e5befa8f132d9fb367f472ca Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'src/gui/opengl/qopenglvertexarrayobject_p.h')
0 files changed, 0 insertions, 0 deletions