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

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();
} }