mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FSCORE-639 with some additional changes
This commit is contained in:
@@ -550,10 +550,7 @@ static switch_status_t timer_sync(switch_timer_t *timer)
|
||||
private_info->reference = timer->tick = TIMER_MATRIX[timer->interval].tick;
|
||||
|
||||
/* apply timestamp */
|
||||
if (timer_step(timer) == SWITCH_STATUS_SUCCESS) {
|
||||
/* push the reference into the future to prevent collision */
|
||||
private_info->reference++;
|
||||
}
|
||||
timer_step(timer);
|
||||
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user