The shutdown process has started in requestShutdown
, but initialize will happily continue with initializeResult
and start threads late in the shutdown progess. Deleting this running thread will crash the application according to the qt docs:
https://github.com/qt/qtbase/blob/e5033a5c9b769815112e922d0b224af860afd219/src/corelib/thread/qthread.cpp#L412-L415
Potential fix for #12372 (comment)
This reverts #11831 for now and hopefully restores the previous behaviour.