summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-03-11 09:14:13 +0100
committerbunnei <bunneidev@gmail.com>2022-03-15 02:14:53 +0100
commit4a28d8cebbe83d05e8a2454bbfddeeb4fe2833ae (patch)
tree10871c9512713171c16dc004c9d7a2aeccfc14f4
parentcore: hle: kernel: k_server_session: Ensure SessionRequestManager is freed. (diff)
downloadyuzu-4a28d8cebbe83d05e8a2454bbfddeeb4fe2833ae.tar
yuzu-4a28d8cebbe83d05e8a2454bbfddeeb4fe2833ae.tar.gz
yuzu-4a28d8cebbe83d05e8a2454bbfddeeb4fe2833ae.tar.bz2
yuzu-4a28d8cebbe83d05e8a2454bbfddeeb4fe2833ae.tar.lz
yuzu-4a28d8cebbe83d05e8a2454bbfddeeb4fe2833ae.tar.xz
yuzu-4a28d8cebbe83d05e8a2454bbfddeeb4fe2833ae.tar.zst
yuzu-4a28d8cebbe83d05e8a2454bbfddeeb4fe2833ae.zip
-rw-r--r--src/core/hle/kernel/k_thread.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_thread.cpp b/src/core/hle/kernel/k_thread.cpp
index de3ffe0c7..736f39e91 100644
--- a/src/core/hle/kernel/k_thread.cpp
+++ b/src/core/hle/kernel/k_thread.cpp
@@ -326,6 +326,9 @@ void KThread::Finalize() {
}
}
+ // Release host emulation members.
+ host_context.reset();
+
// Perform inherited finalization.
KSynchronizationObject::Finalize();
}