diff options
| author | 2022-03-11 17:15:04 -0800 | |
|---|---|---|
| committer | 2022-03-14 18:14:54 -0700 | |
| commit | 0defac2f2a7e9d2524383f7a3413ad5df9019603 (patch) | |
| tree | ec65a717f0e91583271a9efcd773aaf64ae97ffd | |
| parent | core: hle: kernel: k_process: Implement thread local storage accurately. (diff) | |
| download | yuzu-0defac2f2a7e9d2524383f7a3413ad5df9019603.tar.gz yuzu-0defac2f2a7e9d2524383f7a3413ad5df9019603.tar.xz yuzu-0defac2f2a7e9d2524383f7a3413ad5df9019603.zip | |
core: hle: kernel: k_process: Remove handle table finalize, reset page table.
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/kernel/k_process.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/k_process.cpp b/src/core/hle/kernel/k_process.cpp index 60dc9a048..b39405496 100644 --- a/src/core/hle/kernel/k_process.cpp +++ b/src/core/hle/kernel/k_process.cpp | |||
| @@ -404,9 +404,6 @@ void KProcess::PrepareForTermination() { | |||
| 404 | } | 404 | } |
| 405 | 405 | ||
| 406 | void KProcess::Finalize() { | 406 | void KProcess::Finalize() { |
| 407 | // Finalize the handle table and close any open handles. | ||
| 408 | handle_table.Finalize(); | ||
| 409 | |||
| 410 | // Free all shared memory infos. | 407 | // Free all shared memory infos. |
| 411 | { | 408 | { |
| 412 | auto it = shared_memory_list.begin(); | 409 | auto it = shared_memory_list.begin(); |
| @@ -431,6 +428,9 @@ void KProcess::Finalize() { | |||
| 431 | resource_limit = nullptr; | 428 | resource_limit = nullptr; |
| 432 | } | 429 | } |
| 433 | 430 | ||
| 431 | // Finalize the page table. | ||
| 432 | page_table.reset(); | ||
| 433 | |||
| 434 | // Perform inherited finalization. | 434 | // Perform inherited finalization. |
| 435 | KAutoObjectWithSlabHeapAndContainer<KProcess, KWorkerTask>::Finalize(); | 435 | KAutoObjectWithSlabHeapAndContainer<KProcess, KWorkerTask>::Finalize(); |
| 436 | } | 436 | } |