mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Cleanup modules on unloadself.
This commit is contained in:
parent
78ddffee2c
commit
1d195a37e4
1 changed files with 1 additions and 0 deletions
|
@ -2038,6 +2038,7 @@ void __KernelReturnFromModuleFunc()
|
|||
|
||||
if (module->nm.status == MODULE_STATUS_UNLOADING) {
|
||||
// TODO: Delete the waiting thread?
|
||||
module->Cleanup();
|
||||
kernelObjects.Destroy<Module>(leftModuleID);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue