sys_spu Fixup after #6864

This commit is contained in:
Eladash
2019-10-29 21:32:34 +02:00
committed by Ivan
parent eda09489b2
commit f41f5054f7
+2 -1
View File
@@ -1090,13 +1090,14 @@ void spu_thread::cpu_stop()
}
else if (group && is_stopped())
{
ch_in_mbox.clear();
if (verify(HERE, group->running--) == 1)
{
{
std::lock_guard lock(group->mutex);
group->stop_count++;
group->run_state = SPU_THREAD_GROUP_STATUS_INITIALIZED;
ch_in_mbox.clear();
if (!group->join_state)
{