提交 aa42215f authored 作者: Anthony Minessale's avatar Anthony Minessale

FSCORE-472

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15213 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 8eadcd50
......@@ -61,9 +61,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_timer_init(switch_timer_t *timer, co
switch_set_flag(timer, SWITCH_TIMER_FLAG_FREE_POOL);
}
timer->timer_interface->timer_init(timer);
return SWITCH_STATUS_SUCCESS;
return timer->timer_interface->timer_init(timer);
}
SWITCH_DECLARE(switch_status_t) switch_core_timer_next(switch_timer_t *timer)
......
......@@ -233,8 +233,8 @@ static switch_status_t timer_init(switch_timer_t *timer)
while (globals.STARTED == 0) {
do_sleep(100000);
if (++sanity == 10) {
break;
if (++sanity == 300) {
abort();
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论