Loading src/plugin/PluginManager.cpp +1 −2 Changes for src/plugin/PluginManager.cpp: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -51,8 +51,6 @@ void PluginManager::loadDirectory(const std::string &dir, const std::map<std::st continue; } if (abiFn() != PROXYPLUS_PLUGIN_ABI_VERSION) { std::cerr << "[plugin] skipping " << fname << ": ABI version mismatch (plugin=" << abiFn() << ", host=" << PROXYPLUS_PLUGIN_ABI_VERSION << ")" << std::endl; _errors.push_back(fname + ": ABI version mismatch (plugin=" + std::to_string(abiFn()) + ", host=" + std::to_string(PROXYPLUS_PLUGIN_ABI_VERSION) + ")"); ::dlclose(handle); Loading @@ -61,6 +59,7 @@ void PluginManager::loadDirectory(const std::string &dir, const std::map<std::st IPlugin *instance = createFn(); if (!instance) { std::cerr << "[plugin] " << fname << ": proxyplus_plugin_create returned null" << std::endl; _errors.push_back(fname + ": proxyplus_plugin_create returned null"); ::dlclose(handle); continue; Loading Loading
src/plugin/PluginManager.cpp +1 −2 Changes for src/plugin/PluginManager.cpp: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -51,8 +51,6 @@ void PluginManager::loadDirectory(const std::string &dir, const std::map<std::st continue; } if (abiFn() != PROXYPLUS_PLUGIN_ABI_VERSION) { std::cerr << "[plugin] skipping " << fname << ": ABI version mismatch (plugin=" << abiFn() << ", host=" << PROXYPLUS_PLUGIN_ABI_VERSION << ")" << std::endl; _errors.push_back(fname + ": ABI version mismatch (plugin=" + std::to_string(abiFn()) + ", host=" + std::to_string(PROXYPLUS_PLUGIN_ABI_VERSION) + ")"); ::dlclose(handle); Loading @@ -61,6 +59,7 @@ void PluginManager::loadDirectory(const std::string &dir, const std::map<std::st IPlugin *instance = createFn(); if (!instance) { std::cerr << "[plugin] " << fname << ": proxyplus_plugin_create returned null" << std::endl; _errors.push_back(fname + ": proxyplus_plugin_create returned null"); ::dlclose(handle); continue; Loading