瀏覽代碼

thread: Clear the process list on shutdown.

Jules Blok 8 年之前
父節點
當前提交
c74af07c49
共有 1 個文件被更改,包括 3 次插入1 次删除
  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