diff --git a/progress.go b/progress.go index 5902e73..df11c7b 100644 --- a/progress.go +++ b/progress.go @@ -472,8 +472,8 @@ } func syncWidth(wg *sync.WaitGroup, matrix map[int][]chan int) { - wg.Add(len(matrix)) for _, column := range matrix { + wg.Add(1) go maxWidthDistributor(wg, column) } }