Don't report __KernelStopThread on a thread that's gone

At shutdown the kernel objects are cleared before the net module stops
its Apctl thread, so this fired from nearly every game that used it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-11-08 23:27:59 +01:00
1 parent 6e5b54142e
commit 1cccda985f
1 file changed
+1 -1
+1 -1
View File
@@ -1703,7 +1703,7 @@ void __KernelStopThread(SceUID threadID, int exitStatus, const char *reason)
t->nt.waitType = WAITTYPE_NONE;
t->nt.waitID = 0;
} else {
ERROR_LOG_REPORT(Log::sceKernel, "__KernelStopThread: thread %d does not exist (%s)", threadID, reason ? reason : "?");
ERROR_LOG(Log::sceKernel, "__KernelStopThread: thread %d does not exist (%s)", threadID, reason ? reason : "?");
}
}