Fix isLinkAndLoaded check

This commit is contained in:
Maschell 2024-08-04 15:15:01 +02:00
parent e584d8c1df
commit da1a7c4661

View File

@ -157,7 +157,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());