mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Ref T647, using VERIFY as discussed https://discordapp.com/channels/539048679160676382/539925070550794240/573261700413915166
This commit is contained in:
@@ -188,8 +188,9 @@ namespace BlackMisc
|
|||||||
QThread *workerThread = thread(); // must be before quit()
|
QThread *workerThread = thread(); // must be before quit()
|
||||||
this->quit();
|
this->quit();
|
||||||
|
|
||||||
bool ok = workerThread->wait(30 * 1000); //! \todo KB 2017-10 temp workaround: in T145 this will be fixed, sometimes (very rarely) hanging here during shutdown
|
// T647, discussed here: https://discordapp.com/channels/539048679160676382/539925070550794240/573260844004016148
|
||||||
Q_ASSERT_X(ok, Q_FUNC_INFO, "Wait timeout"); // MS 2018-09 assert because we want a stack trace of all threads, via breakpad
|
const bool ok = workerThread->wait(30 * 1000); //! \todo KB 2017-10 temp workaround: in T145 this will be fixed, sometimes (very rarely) hanging here during shutdown
|
||||||
|
BLACK_AUDIT_X(ok, Q_FUNC_INFO, "Wait timeout"); // MS 2019-05 VERIFY because we want a stack trace of all threads, via breakpad
|
||||||
Q_UNUSED(ok);
|
Q_UNUSED(ok);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user