Skip to content

Commit

Permalink
fixup! fixup! plugin-loader: Only load plugins once
Browse files Browse the repository at this point in the history
  • Loading branch information
ammen99 committed Nov 29, 2023
1 parent 0168239 commit d733baa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/plugin-loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,6 @@ void wf::plugin_manager_t::reload_dynamic_plugins()

std::stringstream stream(plugin_list);
std::vector<std::string> next_plugins;
std::vector<std::string> plugin_dup_watcher;

std::vector<std::string> plugin_paths = wf::get_plugin_paths();

std::string plugin_name;
Expand All @@ -169,7 +167,6 @@ void wf::plugin_manager_t::reload_dynamic_plugins()
}

next_plugins.push_back(plugin_path.value());
plugin_dup_watcher.push_back(plugin_name);
} else
{
LOGE("Failed to load plugin \"", plugin_name, "\". ",
Expand Down

0 comments on commit d733baa

Please sign in to comment.