Codebase list golang-github-vbauerster-mpb / 11dd99a
newWidthSync: prefer len(widths) to numBars Vladimir Bauer 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
362362 }
363363 }
364364 result := max(widths)
365 for i := 0; i < numBars; i++ {
365 for i := 0; i < len(widths); i++ {
366366 resultCh <- result
367367 }
368368 }(ws.listen[i], ws.result[i])