mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-21 18:54:14 +00:00
doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5317 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
90a5504dba
commit
a035ec592c
2 files changed
+92
No files matched your search
@@ -2392,6 +2392,8 @@ static void session_destroy(JSContext * cx, JSObject * obj)
|
||||
switch_channel_set_private(channel, "jss", NULL);
|
||||
}
|
||||
|
||||
switch_core_event_hook_remove_state_change(jss->session, hanguphook);
|
||||
|
||||
if (channel && switch_test_flag(jss, S_HUP)) {
|
||||
switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user