Skip to content
Snippets Groups Projects
Commit 0defac2f authored by bunnei's avatar bunnei
Browse files

core: hle: kernel: k_process: Remove handle table finalize, reset page table.

parent 813b2ef2
No related branches found
No related tags found
No related merge requests found
...@@ -404,9 +404,6 @@ void KProcess::PrepareForTermination() { ...@@ -404,9 +404,6 @@ void KProcess::PrepareForTermination() {
} }
void KProcess::Finalize() { void KProcess::Finalize() {
// Finalize the handle table and close any open handles.
handle_table.Finalize();
// Free all shared memory infos. // Free all shared memory infos.
{ {
auto it = shared_memory_list.begin(); auto it = shared_memory_list.begin();
...@@ -431,6 +428,9 @@ void KProcess::Finalize() { ...@@ -431,6 +428,9 @@ void KProcess::Finalize() {
resource_limit = nullptr; resource_limit = nullptr;
} }
// Finalize the page table.
page_table.reset();
// Perform inherited finalization. // Perform inherited finalization.
KAutoObjectWithSlabHeapAndContainer<KProcess, KWorkerTask>::Finalize(); KAutoObjectWithSlabHeapAndContainer<KProcess, KWorkerTask>::Finalize();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment