diff --git a/progress.go b/progress.go index 1be7d07..0032067 100644 --- a/progress.go +++ b/progress.go @@ -254,7 +254,9 @@ cw.Flush() for _, b := range bars { - b.flushDone() + go func(b *Bar) { + b.flushDone() + }(b) } case d := <-p.rrChangeReqCh: t.Stop()