mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
channel private is already removed we don't need to remove the state handler FS-3432
This commit is contained in:
parent
9dc9ee974c
commit
19db96d2ba
@ -348,7 +348,6 @@ static void destroy_session_elem(session_elem_t *session_element)
|
||||
}
|
||||
|
||||
switch_channel_set_private(channel, "_erlang_session_", NULL);
|
||||
switch_core_event_hook_remove_state_change(session, state_handler);
|
||||
switch_channel_clear_flag(channel, CF_CONTROLLED);
|
||||
switch_core_session_rwunlock(session);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user