send break sig after sending messages and events to sessions

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4346 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-02-22 16:06:42 +00:00
parent 6c0152ca2f
commit 4dd3e158a0
1 changed files with 4 additions and 1 deletions

View File

@ -1761,6 +1761,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_receive_message(switch_core_
}
}
}
switch_core_session_kill_channel(session, SWITCH_SIG_BREAK);
return status;
}
@ -1865,6 +1866,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_receive_event(switch_core_se
switch_core_session_rwunlock(session);
}
switch_core_session_kill_channel(session, SWITCH_SIG_BREAK);
return status;
}