diff --git a/progress.go b/progress.go index ec43bcb..075832e 100644 --- a/progress.go +++ b/progress.go @@ -269,7 +269,7 @@ return err } if frame.shutdown { - <-b.done // waiting for b.done, so it's safe to read b.bs + b.Wait() // waiting for b.done, so it's safe to read b.bs var toDrop bool if qb, ok := s.queueBars[b]; ok { delete(s.queueBars, b)