Skip to content

Commit

Permalink
Use RTLD_NODELETE=true when loading libraries (#469)
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>

Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey authored Sep 1, 2022
1 parent 7bf2018 commit 0e9ce2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ bool Application::LoadPlugin(const std::string &_filename,
// Load plugin
plugin::Loader pluginLoader;

auto pluginNames = pluginLoader.LoadLib(pathToLib);
auto pluginNames = pluginLoader.LoadLib(pathToLib, true);
if (pluginNames.empty())
{
gzerr << "Failed to load plugin [" << _filename <<
Expand Down

0 comments on commit 0e9ce2c

Please sign in to comment.