git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4279 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-02-14 23:08:10 +00:00
parent 77484ae4b7
commit b154ea7e2b

View File

@ -1895,6 +1895,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_queue_private_event(switch_c
if (session->private_event_queue) {
if (switch_queue_trypush(session->private_event_queue, *event) == SWITCH_STATUS_SUCCESS) {
*event = NULL;
switch_core_session_kill_channel(session, SWITCH_SIG_BREAK);
status = SWITCH_STATUS_SUCCESS;
}
}