Mercurial > hg > svcore
diff plugin/LADSPAPluginFactory.cpp @ 118:4170b21773cf
* a bit more debug output tidying
author | Chris Cannam |
---|---|
date | Mon, 15 May 2006 13:04:37 +0000 |
parents | 45175d8c5dc5 |
children | 82f529a08cf3 |
line wrap: on
line diff
--- a/plugin/LADSPAPluginFactory.cpp Fri May 12 14:40:43 2006 +0000 +++ b/plugin/LADSPAPluginFactory.cpp Mon May 15 13:04:37 2006 +0000 @@ -361,8 +361,10 @@ } if (!stillInUse) { - std::cerr << "LADSPAPluginFactory::releasePlugin: dll " << soname.toStdString() << " no longer in use, unloading" << std::endl; - unloadLibrary(soname); + if (soname != PluginIdentifier::BUILTIN_PLUGIN_SONAME) { + std::cerr << "LADSPAPluginFactory::releasePlugin: dll " << soname.toStdString() << " no longer in use, unloading" << std::endl; + unloadLibrary(soname); + } } std::cerr << "LADSPAPluginFactory::releasePlugin(" @@ -494,7 +496,9 @@ for (std::vector<QString>::iterator i = toUnload.begin(); i != toUnload.end(); ++i) { - unloadLibrary(*i); + if (*i != PluginIdentifier::BUILTIN_PLUGIN_SONAME) { + unloadLibrary(*i); + } } }