Explorar o código

thread: Clear the process list on shutdown.

Jules Blok %!s(int64=8) %!d(string=hai) anos
pai
achega
c74af07c49
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/core/hle/kernel/thread.cpp

+ 3 - 1
src/core/hle/kernel/thread.cpp

@@ -406,6 +406,8 @@ void ThreadingInit() {
     next_thread_id = 1;
 }
 
-void ThreadingShutdown() {}
+void ThreadingShutdown() {
+    Kernel::ClearProcessList();
+}
 
 } // namespace Kernel