mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-26 22:25:46 +01:00
core: hle: kernel: k_process: Remove handle table finalize, reset page table.
This commit is contained in:
parent
813b2ef253
commit
0defac2f2a
@ -404,9 +404,6 @@ void KProcess::PrepareForTermination() {
|
||||
}
|
||||
|
||||
void KProcess::Finalize() {
|
||||
// Finalize the handle table and close any open handles.
|
||||
handle_table.Finalize();
|
||||
|
||||
// Free all shared memory infos.
|
||||
{
|
||||
auto it = shared_memory_list.begin();
|
||||
@ -431,6 +428,9 @@ void KProcess::Finalize() {
|
||||
resource_limit = nullptr;
|
||||
}
|
||||
|
||||
// Finalize the page table.
|
||||
page_table.reset();
|
||||
|
||||
// Perform inherited finalization.
|
||||
KAutoObjectWithSlabHeapAndContainer<KProcess, KWorkerTask>::Finalize();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user