VERY experimental Nintendo Switch 2 emulator
C++
hle: kernel: k_process: Close the handle table on shutdown.
bunnei66da530a8154
diff --git a/src/core/hle/kernel/k_process.cpp b/src/core/hle/kernel/k_process.cppindex c309ae563b..87171b1c81 100644--- a/src/core/hle/kernel/k_process.cpp+++ b/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();}