Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.17, 6.2.12, 6.5.6, 6.6.3, 6.7.2, 6.8.0 Beta1
-
None
Description
The unix implementation of terminate() supports self-cancellation (albeit with QTBUG-127008), and the Windows implementation at least doesn't reject the call.
But on Windows TerminateThread(self) does not return anymore, meaning the following finish() call in QThread::terminate() never gets executed.
Can we fix the cleanup to happen before running the thread into the ground with TerminateThread()?
References: