From 68eee522de827e49fde5c11f362f6ec64900bacf Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 4 Aug 2024 15:15:01 +0200 Subject: [PATCH] Fix isLinkAndLoaded check --- source/PluginManagement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/PluginManagement.cpp b/source/PluginManagement.cpp index 6633638..3999ef1 100644 --- a/source/PluginManagement.cpp +++ b/source/PluginManagement.cpp @@ -156,7 +156,7 @@ bool PluginManagement::doRelocations(const std::vector &plugins OSDynLoad_SetAllocator(CustomDynLoadAlloc, CustomDynLoadFree); for (const auto &pluginContainer : plugins) { - if (pluginContainer.isLinkedAndLoaded()) { + if (!pluginContainer.isLinkedAndLoaded()) { continue; } DEBUG_FUNCTION_LINE_VERBOSE("Doing relocations for plugin: %s", pluginContainer.getMetaInformation().getName().c_str());