We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6d8ccc commit f32686fCopy full SHA for f32686f
src/multi_library_class_loader.cpp
@@ -39,10 +39,7 @@ enable_ondemand_loadunload_(enable_ondemand_loadunload)
39
40
MultiLibraryClassLoader::~MultiLibraryClassLoader()
41
{
42
- if (!isOnDemandLoadUnloadEnabled())
43
- shutdownAllClassLoaders(); // don't unload libs to avoid SEVERE WARNING
44
- // TODO: free ClassLoaders in active_class_loaders_
45
- // However, we still need them in on-demand-load-unload mode. Otherwise we risk seg-faults.
+ shutdownAllClassLoaders();
46
}
47
48
std::vector<std::string> MultiLibraryClassLoader::getRegisteredLibraries()
0 commit comments