event socket / ESL improvements

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12228 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-02-21 23:19:58 +00:00
parent c7d6662d08
commit 99026e02e7
18 changed files with 156 additions and 57 deletions
+1 -1
View File
@@ -986,7 +986,7 @@ SWITCH_DECLARE(int) CoreSession::flushEvents()
}
channel = switch_core_session_get_channel(session);
while (switch_core_session_dequeue_event(session, &event) == SWITCH_STATUS_SUCCESS) {
while (switch_core_session_dequeue_event(session, &event, SWITCH_TRUE) == SWITCH_STATUS_SUCCESS) {
switch_event_destroy(&event);
}
return SWITCH_STATUS_SUCCESS;