Explorar o código

hle: kernel: k_process: Close the handle table on shutdown.

bunnei %!s(int64=5) %!d(string=hai) anos
pai
achega
b119363fc2
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/core/hle/kernel/k_process.cpp

+ 3 - 0
src/core/hle/kernel/k_process.cpp

@@ -409,6 +409,9 @@ void KProcess::Finalize() {
         resource_limit->Close();
     }
 
+    // Finalize the handle table and close any open handles.
+    handle_table.Finalize();
+
     // Perform inherited finalization.
     KAutoObjectWithSlabHeapAndContainer<KProcess, KSynchronizationObject>::Finalize();
 }