mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-21 13:34:56 -04:00
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:
1 parent
4e78635764
commit
2446f62180
1 file changed
+3
-1
+3
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user