From cf1477788e23deb689a323bcacd7fee62f5a2b60 Mon Sep 17 00:00:00 2001 From: Maschell Date: Tue, 10 Feb 2026 17:15:51 +0100 Subject: [PATCH] Add missing FINI_WRAPPER hook call before deinit --- source/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/main.cpp b/source/main.cpp index 98958b3..e1fa5d7 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -351,6 +351,7 @@ void CleanupPlugins(std::vector &pluginsToDeinit) { currentThread->reserved[4] = 0; CallHook(pluginsToDeinit, WUPS_LOADER_HOOK_DEINIT_PLUGIN); + CallHook(pluginsToDeinit, WUPS_LOADER_HOOK_FINI_WRAPPER); CheckCleanupCallbackUsage(pluginsToDeinit);