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 committed 2014-09-12 20:36:35 -07:00
1 parent 4e78635764
commit 2446f62180
1 file changed
+3 -1
+3 -1
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);