mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
add state change hooks for destroy
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14647 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -553,6 +553,7 @@ SWITCH_DECLARE(void) switch_core_session_destroy_state(switch_core_session_t *se
|
||||
int index = 0;
|
||||
|
||||
switch_assert(session != NULL);
|
||||
switch_channel_set_running_state(session->channel, CS_DESTROY);
|
||||
|
||||
session->thread_running = 1;
|
||||
endpoint_interface = session->endpoint_interface;
|
||||
|
Reference in New Issue
Block a user