diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-03-01 15:47:15 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-14 09:49:28 +0100 |
commit | 17869a544e2a3b2cdc61dfe87a96a8c1a3286fff (patch) | |
tree | 51e913ad5b3b3cbce651e7d47d629de10edc809e /src/corelib/io/qprocess_win.cpp | |
parent | ba75f604499d3c4fc15930731814fdb9415fdc83 (diff) |
fix spurious QWindowsPipeWriter deadlock
We must check the return value of CancelIo(Ex) and only wait for a
notification if it was successful.
CancelIoEx can fail, if the handle is closed before the
QWindowsPipeWriter destructor is called.
Change-Id: I2dcc97052be917c69d18c277856374cbc07e2169
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/corelib/io/qprocess_win.cpp')
0 files changed, 0 insertions, 0 deletions