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 150e429831
commit 20b0ee51c5

View File

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