Skip to content

Commit

Permalink
always load library, otherwise we cannot know about registered classes
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Apr 3, 2016
1 parent 8123cd3 commit 2764672
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/class_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ load_ref_count_(0),
plugin_ref_count_(0)
{
logDebug("class_loader.ClassLoader: Constructing new ClassLoader (%p) bound to library %s.", this, library_path.c_str());
if(!isOnDemandLoadUnloadEnabled())
loadLibrary();
loadLibrary();
}

ClassLoader::~ClassLoader()
Expand Down

0 comments on commit 2764672

Please sign in to comment.