From da1a7c466171cdacd2c85605e39ce05e648abf4c 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());