git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15362 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-11-05 00:02:11 +00:00
parent f4239d9500
commit 74bfa46aaa
1 changed files with 3 additions and 1 deletions

View File

@ -568,7 +568,9 @@ SWITCH_DECLARE(void) CoreSession::hangupState(void)
{
sanity_check_noreturn;
this->begin_allow_threads();
if (switch_channel_down(channel)) {
switch_core_session_hangup_state(session);
}
this->end_allow_threads();
}