git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5317 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2007-06-12 21:35:37 +00:00
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);
}