mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
MODENDP-215
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13174 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -327,7 +327,7 @@ static switch_status_t timer_next(switch_timer_t *timer)
|
||||
int delta = (int)(private_info->reference - TIMER_MATRIX[timer->interval].tick);
|
||||
|
||||
/* sync up timer if it's not been called for a while otherwise it will return instantly several times until it catches up */
|
||||
if (delta < 0) {
|
||||
if (delta < -1) {
|
||||
private_info->reference = timer->tick = TIMER_MATRIX[timer->interval].tick;
|
||||
}
|
||||
timer_step(timer);
|
||||
|
Reference in New Issue
Block a user