mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-28 13:39:08 +00:00
move shutdown of session to after switch_event
This commit is contained in:
1 parent
167071cc77
commit
1716dbc214
1 file changed
+1
-1
+1
-1
@@ -2600,7 +2600,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_destroy(void)
|
||||
switch_nat_shutdown();
|
||||
}
|
||||
switch_xml_destroy();
|
||||
switch_core_session_uninit();
|
||||
switch_console_shutdown();
|
||||
switch_channel_global_uninit();
|
||||
|
||||
@@ -2610,6 +2609,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_destroy(void)
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Finalizing Shutdown.\n");
|
||||
switch_log_shutdown();
|
||||
|
||||
switch_core_session_uninit();
|
||||
switch_core_unset_variables();
|
||||
switch_core_memory_stop();
|
||||
|
||||
|
||||
Reference in new issue
Block a user