Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0e9ce2c

Browse files
authoredSep 1, 2022
Use RTLD_NODELETE=true when loading libraries (#469)
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org> Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
1 parent 7bf2018 commit 0e9ce2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Application.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ bool Application::LoadPlugin(const std::string &_filename,
489489
// Load plugin
490490
plugin::Loader pluginLoader;
491491

492-
auto pluginNames = pluginLoader.LoadLib(pathToLib);
492+
auto pluginNames = pluginLoader.LoadLib(pathToLib, true);
493493
if (pluginNames.empty())
494494
{
495495
gzerr << "Failed to load plugin [" << _filename <<

0 commit comments

Comments
 (0)
Please sign in to comment.