summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qsharedpointer.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2019-02-13 10:09:54 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-02-21 14:33:29 +0000
commit46a20b90243149b0ecd1d44cab964e785648d214 (patch)
tree6beacad19da17cc82a410afc9704ddfa09558b28 /src/corelib/tools/qsharedpointer.cpp
parent01f07fd2d1f4e9c6dfc755ffa1c30bb1281a0ff1 (diff)
QProcess: Fix crash when calling closeWriteChannel on Windows
We must deleteLater the pipe writer in closeChannel, because if you call closeWriteChannel() from a slot that is connected to a signal emitted from QWindowsPipeWriter, we'd operate on a deleted object. For consistency, we're calling QWindowsPipeWriter::stop before deleteLater and deduplicate the code. Fixes: QTBUG-73778 Change-Id: I61d3dedf57e9fd02517a108d13ffc85e006330f6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/corelib/tools/qsharedpointer.cpp')
0 files changed, 0 insertions, 0 deletions