diff --git a/src/progress_bar.rs b/src/progress_bar.rs index be69b012..faeb0c0f 100644 --- a/src/progress_bar.rs +++ b/src/progress_bar.rs @@ -641,7 +641,7 @@ impl TickerControl { } state.state.tick = state.state.tick.saturating_add(1); - state.draw(false, Instant::now()).ok(); + state.update_estimate_and_draw(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