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");
RestorePatches();
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");
DeInit();
DEBUG_FUNCTION_LINE("Bye bye!\n");