mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-07 22:03:50 +00:00
[Unit-tests] Fix test framework by telling sqldb to manage handles so they don't leak and are destroyed on shutdown.
This commit is contained in:
parent
2865603ad2
commit
4c434aef1f
@ -113,7 +113,7 @@ static switch_status_t fst_init_core_and_modload(const char *confdir, const char
|
||||
switch_core_set_globals();
|
||||
|
||||
if (!minimal) {
|
||||
status = switch_core_init_and_modload(0, SWITCH_TRUE, &err);
|
||||
status = switch_core_init_and_modload(SCF_USE_SQL, SWITCH_TRUE, &err);
|
||||
switch_sleep(1 * 1000000);
|
||||
switch_core_set_variable("sound_prefix", "." SWITCH_PATH_SEPARATOR);
|
||||
if (status != SWITCH_STATUS_SUCCESS && err) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user