mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-12-23 03:21:48 +01:00
Call the DEINIT_PLUGIN hook after before unloading a plugin
This commit is contained in:
parent
178085750d
commit
5303e05508
@ -77,6 +77,7 @@ WUMS_APPLICATION_STARTS() {
|
||||
if (!gLoadOnNextLaunch.empty()) {
|
||||
DEBUG_FUNCTION_LINE("Restore function patches of currently loaded plugins.");
|
||||
PluginManagement::RestoreFunctionPatches(gLoadedPlugins);
|
||||
CallHook(gLoadedPlugins, WUPS_LOADER_HOOK_DEINIT_PLUGIN);
|
||||
DEBUG_FUNCTION_LINE("Unload existing plugins.");
|
||||
gLoadedPlugins.clear();
|
||||
DEBUG_FUNCTION_LINE("Load new plugins");
|
||||
|
Loading…
Reference in New Issue
Block a user