mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Cleanup modules on unloadself.
This commit is contained in:
1 parent
78ddffee2c
commit
1d195a37e4
1 file changed
+1
@@ -2038,6 +2038,7 @@ void __KernelReturnFromModuleFunc()
|
||||
|
||||
if (module->nm.status == MODULE_STATUS_UNLOADING) {
|
||||
// TODO: Delete the waiting thread?
|
||||
module->Cleanup();
|
||||
kernelObjects.Destroy<Module>(leftModuleID);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user