From 4a28d8cebbe83d05e8a2454bbfddeeb4fe2833ae Mon Sep 17 00:00:00 2001 From: bunnei Date: Fri, 11 Mar 2022 00:14:13 -0800 Subject: core: hle: kernel: k_thread: Ensure host Fiber is freed. --- src/core/hle/kernel/k_thread.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/hle') 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(); } -- cgit v1.2.3