Io: Destroy async threads on reset.

Oops, this left us in a different state on exit.
This commit is contained in:
Unknown W. Brackets committed 2019-10-20 10:25:57 -07:00
1 parent c7b3a08cf3
commit 4065fae262
2 files changed
+11 -2

No files matched your search

+2 -2
View File
@@ -1641,9 +1641,9 @@ void __KernelStopThread(SceUID threadID, int exitStatus, const char *reason)
// Stopped threads are never waiting.
t->nt.waitType = WAITTYPE_NONE;
t->nt.waitID = 0;
}
else
} else {
ERROR_LOG_REPORT(SCEKERNEL, "__KernelStopThread: thread %d does not exist", threadID);
}
}
u32 __KernelDeleteThread(SceUID threadID, int exitStatus, const char *reason)