Function mrpt::system::unloadPluginModule

Function Documentation

bool mrpt::system::unloadPluginModule(const std::string &moduleFileName, mrpt::optional_ref<std::string> outErrorMsgs = std::nullopt)

Unloads “plug-in” modules loaded with loadPluginModule().

Note

Unloaded is done automatically before program exit even if this is not explicitly called.

Returns:

true if module could be unloaded without errors.