Do not call dlclose on modules

This apparently can cause issues with certain modules (as noted by
faruton with his browser plugin)
This commit is contained in:
jp9000 2014-09-12 19:39:14 -07:00
parent 4e78635764
commit 2446f62180

View File

@ -355,7 +355,9 @@ void free_module(struct obs_module *mod)
if (mod->loaded && mod->unload)
mod->unload();
os_dlclose(mod->module);
/* there is no real reason to close the dynamic libraries,
* and sometimes this can cause issues. */
/* os_dlclose(mod->module); */
}
bfree(mod->bin_path);