Don't call the DEINIT hook on exit.

This commit is contained in:
Maschell 2018-09-15 14:35:07 +02:00
parent 3acf94d049
commit e2f0e83a5f

View File

@ -183,7 +183,7 @@ extern "C" int32_t Menu_Main(int32_t argc, char **argv) {
DEBUG_FUNCTION_LINE("Restoring the patched functions\n"); DEBUG_FUNCTION_LINE("Restoring the patched functions\n");
RestorePatches(); RestorePatches();
DEBUG_FUNCTION_LINE("Calling the plugin deinit hook\n"); DEBUG_FUNCTION_LINE("Calling the plugin deinit hook\n");
CallHook(WUPS_LOADER_HOOK_DEINIT_PLUGIN); //CallHook(WUPS_LOADER_HOOK_DEINIT_PLUGIN);
DEBUG_FUNCTION_LINE("Unmounting SD/USB devices\n"); DEBUG_FUNCTION_LINE("Unmounting SD/USB devices\n");
DeInit(); DeInit();
DEBUG_FUNCTION_LINE("Bye bye!\n"); DEBUG_FUNCTION_LINE("Bye bye!\n");