forked from ShuriZma/suyu
1
0
Fork 0

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

This commit is contained in:
bunnei 2021-06-28 16:59:49 -07:00
parent 6020723e77
commit b119363fc2
1 changed files with 3 additions and 0 deletions

View File

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