mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
WorkQueueThread: Fix WaitForCompletion
This commit is contained in:
parent
9186050daa
commit
9d422d14d5
@ -124,7 +124,7 @@ public:
|
||||
if (m_idle && !m_cancelling.load())
|
||||
return;
|
||||
|
||||
m_wait_cond_var.wait(lg, [&] { return m_idle && m_cancelling.load(); });
|
||||
m_wait_cond_var.wait(lg, [&] { return m_idle && !m_cancelling; });
|
||||
}
|
||||
|
||||
// If the worker polls IsCanceling(), it can abort its work when Cancelling
|
||||
|
Loading…
x
Reference in New Issue
Block a user