fix race condition in state thread

This commit is contained in:
Anthony Minessale
2013-02-22 17:46:54 -06:00
parent 31865f0dc4
commit ee7dd033fd
5 changed files with 41 additions and 9 deletions

View File

@@ -851,10 +851,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_parse_all_events(switch_core_session_
x++;
}
if (x) {
switch_ivr_sleep(session, 0, SWITCH_TRUE, NULL);
}
return SWITCH_STATUS_SUCCESS;
}