From 8941ac9f104529829bbddd8795a2a71b5c6796dc 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 bb09ea4..249b884 100644 --- a/source/PluginManagement.cpp +++ b/source/PluginManagement.cpp @@ -157,7 +157,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());