diff options
author | bunnei <bunneidev@gmail.com> | 2021-06-29 01:59:49 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-07-21 03:54:55 +0200 |
commit | b119363fc27994a4eb68405011235c4a1b3cdf8f (patch) | |
tree | 2114c26591b358b1af5e8bf633afda9d978cb44c /src/core/hle | |
parent | hle: kernel: k_process: Close main thread reference after it is inserted into handle table. (diff) | |
download | yuzu-b119363fc27994a4eb68405011235c4a1b3cdf8f.tar yuzu-b119363fc27994a4eb68405011235c4a1b3cdf8f.tar.gz yuzu-b119363fc27994a4eb68405011235c4a1b3cdf8f.tar.bz2 yuzu-b119363fc27994a4eb68405011235c4a1b3cdf8f.tar.lz yuzu-b119363fc27994a4eb68405011235c4a1b3cdf8f.tar.xz yuzu-b119363fc27994a4eb68405011235c4a1b3cdf8f.tar.zst yuzu-b119363fc27994a4eb68405011235c4a1b3cdf8f.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/kernel/k_process.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_process.cpp b/src/core/hle/kernel/k_process.cpp index c309ae563..87171b1c8 100644 --- a/src/core/hle/kernel/k_process.cpp +++ b/src/core/hle/kernel/k_process.cpp @@ -409,6 +409,9 @@ void KProcess::Finalize() { resource_limit->Close(); } + // Finalize the handle table and close any open handles. + handle_table.Finalize(); + // Perform inherited finalization. KAutoObjectWithSlabHeapAndContainer<KProcess, KSynchronizationObject>::Finalize(); } |