diff options
author | Alex Trotsenko <alex1973tr@gmail.com> | 2020-09-08 08:11:47 +0000 |
---|---|---|
committer | Alex Trotsenko <alex1973tr@gmail.com> | 2020-09-10 09:17:20 +0300 |
commit | 92640829ad9f14ac83d870ed119e2738983f5284 (patch) | |
tree | 36c63380d66a161113a00b8c25bea25247b00923 /src/corelib/io/qwindowspipewriter_p.h | |
parent | 9440d602e5b236e4981899aa7698578778065166 (diff) |
Revert "Do not wait in QWindowsPipe{Reader|Writer}::stop()"
This reverts commit c7ec07d40115bef849574c81d619b629af9434a9.
Reason for revert: This causes a memory leak on program termination.
The initial commit was an attempt to fix a deadlock where the user
destroys object from a thread that does not own the object. This is
an unsupported case and should be treated as an invalid report.
Pick-to: 5.15
Change-Id: I4957784b86a0361adb65b9d023542f96480f00ba
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'src/corelib/io/qwindowspipewriter_p.h')
-rw-r--r-- | src/corelib/io/qwindowspipewriter_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qwindowspipewriter_p.h b/src/corelib/io/qwindowspipewriter_p.h index 6c269e86b7..f7f68b688c 100644 --- a/src/corelib/io/qwindowspipewriter_p.h +++ b/src/corelib/io/qwindowspipewriter_p.h @@ -143,7 +143,7 @@ private: }; HANDLE handle; - Overlapped *overlapped; + Overlapped overlapped; QByteArray buffer; qint64 pendingBytesWrittenValue; bool stopped; |