[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:
Andrey Volk committed 2021-10-23 22:00:36 +03:00
1 parent 6b3cd2e41f
commit 734e9776e0
2 files changed
+12

No files matched your search

+2
View File
@@ -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;
}
}