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:
parent
f40a1f6089
commit
f3c2b2d1f5
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue