core: hle: kernel: k_thread: Ensure host Fiber is freed.

master
bunnei 2022-03-11 00:14:13 +07:00
parent ed67e1dd10
commit 4a28d8cebb
1 changed files with 3 additions and 0 deletions

@ -326,6 +326,9 @@ void KThread::Finalize() {
} }
} }
// Release host emulation members.
host_context.reset();
// Perform inherited finalization. // Perform inherited finalization.
KSynchronizationObject::Finalize(); KSynchronizationObject::Finalize();
} }