FSCORE-472
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15213 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
8eadcd50ca
commit
aa42215fb6
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue