mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
isolate sdp parser code to the switch_core_media.c
This commit is contained in:
@@ -1664,7 +1664,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
|
||||
*err = "Error activating database";
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
||||
switch_core_media_init();
|
||||
switch_scheduler_task_thread_start();
|
||||
|
||||
switch_nat_late_init();
|
||||
@@ -2588,6 +2588,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_destroy(void)
|
||||
switch_core_destroy_memory_pool(&IP_LIST.pool);
|
||||
}
|
||||
|
||||
switch_core_media_deinit();
|
||||
|
||||
if (runtime.memory_pool) {
|
||||
apr_pool_destroy(runtime.memory_pool);
|
||||
apr_terminate();
|
||||
|
Reference in New Issue
Block a user