diff --git a/src/progress_bar.rs b/src/progress_bar.rs index 60788f36..5aa079f9 100644 --- a/src/progress_bar.rs +++ b/src/progress_bar.rs @@ -640,8 +640,7 @@ impl TickerControl { break; } - state.state.tick = state.state.tick.saturating_add(1); - state.draw(false, Instant::now()).ok(); + state.tick(Instant::now()); drop(state); // Don't forget to drop the lock before sleeping drop(arc); // Also need to drop Arc otherwise BarState won't be dropped