mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-23 11:44:14 +00:00
[Unit-tests] Add --enable-fake-dlclose configure flag so modules are not unloaded and ASAN could give more info and not just <unknown module>.
This commit is contained in:
1 parent
6b3cd2e41f
commit
734e9776e0
2 files changed
+12
No files matched your search
@@ -91,7 +91,9 @@ SWITCH_DECLARE(void *) switch_dso_data_sym(switch_dso_lib_t lib, const char *sym
|
||||
void switch_dso_destroy(switch_dso_lib_t *lib)
|
||||
{
|
||||
if (lib && *lib) {
|
||||
#ifndef HAVE_FAKE_DLCLOSE
|
||||
dlclose(*lib);
|
||||
#endif
|
||||
*lib = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user