VS2008 cleanup for Core Curl integration

This commit is contained in:
Jeff Lenk
2011-05-12 10:48:46 -05:00
parent 84feca50e3
commit a912fa6b3e
7 changed files with 23 additions and 17 deletions

View File

@@ -1446,9 +1446,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);
#ifndef WIN32
switch_curl_init(runtime.memory_pool);
#endif
return SWITCH_STATUS_SUCCESS;
}
@@ -2120,9 +2118,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_destroy(void)
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Clean up modules.\n");
switch_loadable_module_shutdown();
#ifndef WIN32
switch_curl_destroy();
#endif
if (switch_test_flag((&runtime), SCF_USE_SQL)) {
switch_core_sqldb_stop();