mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-29 08:04:15 +01:00
Only call fini when the plugin will be unloaded
This commit is contained in:
parent
6df6d871aa
commit
4f5ba85c39
@ -39,7 +39,9 @@ WUMS_APPLICATION_REQUESTS_EXIT() {
|
|||||||
|
|
||||||
WUMS_APPLICATION_ENDS() {
|
WUMS_APPLICATION_ENDS() {
|
||||||
CallHook(gPluginInformation, WUPS_LOADER_HOOK_APPLICATION_ENDS);
|
CallHook(gPluginInformation, WUPS_LOADER_HOOK_APPLICATION_ENDS);
|
||||||
|
if (gLinkOnReload.loadOnReload) {
|
||||||
CallHook(gPluginInformation, WUPS_LOADER_HOOK_FINI_WRAPPER);
|
CallHook(gPluginInformation, WUPS_LOADER_HOOK_FINI_WRAPPER);
|
||||||
|
}
|
||||||
CallHook(gPluginInformation, WUPS_LOADER_HOOK_FINI_WUT_SOCKETS);
|
CallHook(gPluginInformation, WUPS_LOADER_HOOK_FINI_WUT_SOCKETS);
|
||||||
CallHook(gPluginInformation, WUPS_LOADER_HOOK_FINI_WUT_DEVOPTAB);
|
CallHook(gPluginInformation, WUPS_LOADER_HOOK_FINI_WUT_DEVOPTAB);
|
||||||
CallHook(gPluginInformation, WUPS_LOADER_HOOK_FINI_WUT_STDCPP);
|
CallHook(gPluginInformation, WUPS_LOADER_HOOK_FINI_WUT_STDCPP);
|
||||||
|
Loading…
Reference in New Issue
Block a user