Skip to content

Commit

Permalink
don't force library unloading when on-demand-unloading is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Apr 3, 2016
1 parent 2764672 commit 051cfd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/multi_library_class_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ void MultiLibraryClassLoader::loadLibrary(const std::string& library_path)

void MultiLibraryClassLoader::shutdownAllClassLoaders()
{
if (isOnDemandLoadUnloadEnabled()) return;
std::vector<std::string> available_libraries = getRegisteredLibraries();
for(unsigned int c = 0; c < available_libraries.size(); c++)
unloadLibrary(available_libraries.at(c));
Expand Down

0 comments on commit 051cfd5

Please sign in to comment.