Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-laplante committed Apr 26, 2022
1 parent be38901 commit d501157
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/progress_bar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ impl ProgressBar {
let mut ticker_state = self.ticker.lock().unwrap();
if let Some(ticker) = ticker_state.take() {
ticker.stop();
drop(ticker);
}

*ticker_state = new_ticker;
Expand Down

0 comments on commit d501157

Please sign in to comment.