Cleanly shut down JKRDecomp thread

Properly join the thread to ensure it's shut down before we try to exit.

Fixes #268
This commit is contained in:
PJB3005
2026-04-07 20:06:29 +02:00
parent ee5ab7978e
commit 63ade15e2c
9 changed files with 47 additions and 6 deletions
@@ -116,3 +116,9 @@ void JFWSystem::init() {
void* buffer = systemHeap->alloc(CSetUpParam::exConsoleBufferSize, 4);
JUTException::createConsole(buffer, CSetUpParam::exConsoleBufferSize);
}
#if TARGET_PC
void JFWSystem::shutdown() {
JKRAram::destroy();
}
#endif