Fix isLinkAndLoaded check

This commit is contained in:
Maschell 2024-08-04 15:15:01 +02:00
parent 3ef104d619
commit 68eee522de

View File

@ -156,7 +156,7 @@ bool PluginManagement::doRelocations(const std::vector<PluginContainer> &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());