Commit 2053afe9 authored by Aline Gondim Santos's avatar Aline Gondim Santos Committed by Adrien Béraud
Browse files

plugin: fix duplicate handlers in memory

Make sure we unload plugin before trying to load it.

Change-Id: I87ac7b36378c0e70ecd101b68c8fcb8b7ea7fde8
parent a6177c94
......@@ -51,8 +51,8 @@ bool
PluginManager::load(const std::string& path)
auto it = dynPluginMap_.find(path);
if (it != dynPluginMap_.end() && !it->second.second) {
if (it != dynPluginMap_.end()) {
std::string error;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment