mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
Qt: Fix worker thread lockup on shutdown
This commit is contained in:
parent
1911ab2e1c
commit
28efc50a04
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue