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

View File

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