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

This commit is contained in:
bunnei 2022-03-11 00:14:13 -08:00
parent ed67e1dd10
commit 4a28d8cebb
1 changed files with 3 additions and 0 deletions

View File

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