Skip to content

Commit 2764672

Browse files
committed
always load library, otherwise we cannot know about registered classes
1 parent 8123cd3 commit 2764672

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/class_loader.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ load_ref_count_(0),
5151
plugin_ref_count_(0)
5252
{
5353
logDebug("class_loader.ClassLoader: Constructing new ClassLoader (%p) bound to library %s.", this, library_path.c_str());
54-
if(!isOnDemandLoadUnloadEnabled())
55-
loadLibrary();
54+
loadLibrary();
5655
}
5756

5857
ClassLoader::~ClassLoader()

0 commit comments

Comments
 (0)