Sfoglia il codice sorgente

thread: Clear the process list on shutdown.

Jules Blok 8 anni fa
parent
commit
c74af07c49
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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