Qt: Fix worker thread lockup on shutdown

This commit is contained in:
Connor McLaughlin 2020-01-11 14:21:08 +10:00
parent 1911ab2e1c
commit 28efc50a04

View file

@ -487,6 +487,7 @@ void QtHostInterface::stopThread()
void QtHostInterface::doStopThread() void QtHostInterface::doStopThread()
{ {
m_shutdown_flag.store(true); m_shutdown_flag.store(true);
m_worker_thread_event_loop->quit();
} }
void QtHostInterface::threadEntryPoint() void QtHostInterface::threadEntryPoint()