Leak library handles in is_wrapper_plugin

Many libraries crash on unload. Better to just keep them all loaded in
the process like everything else does.
This commit is contained in:
David Benjamin 2011-09-06 19:48:36 -04:00
parent f40a1f6089
commit f3c2b2d1f5
1 changed files with 2 additions and 1 deletions

View File

@ -534,7 +534,8 @@ static bool is_wrapper_plugin(const char *plugin_path, NPW_PluginInfo *out_plugi
return false;
bool ret = is_wrapper_plugin_handle(handle, out_plugin_info);
dlclose(handle);
/* Intentionally leak the handle; many libraries crash when unloaded. */
/* dlclose(handle); */
return ret;
}