FS-3312 --resolve

This commit is contained in:
Anthony Minessale
2011-05-25 14:45:55 -05:00
parent 5013bece3f
commit b978d39d48
4 changed files with 4 additions and 18 deletions

View File

@@ -36,6 +36,7 @@
#include <switch.h>
#include <switch_ssl.h>
#include <switch_stun.h>
#include <switch_nat.h>
#include <switch_version.h>
@@ -1473,6 +1474,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
switch_uuid_get(&uuid);
switch_uuid_format(runtime.uuid_str, &uuid);
switch_ssl_init_ssl_locks();
return SWITCH_STATUS_SUCCESS;
}
@@ -2145,6 +2147,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_destroy(void)
switch_loadable_module_shutdown();
switch_ssl_destroy_ssl_locks();
if (switch_test_flag((&runtime), SCF_USE_SQL)) {
switch_core_sqldb_stop();
}