Open
Description
There is a lock load_ref_lock
and class_loader::impl::loadLibrary(getLibraryPath(), this)
will not load .so library twice. Why not just use a bool is_loaded
to load and unload the .so library.
I didn't see the benefits of counting times of the loadLibrary
. The unloadLibrary
will do nothing when load_ref_count_ > 0
too.
class_loader/src/class_loader.cpp
Lines 100 to 102 in a183b76
Metadata
Metadata
Assignees
Labels
No labels