Codebase list golang-github-vbauerster-mpb / 6eb5ed0
bugfix: loop variable captured by func literal Vladimir Bauer 7 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
291291 delete(bm, b)
292292 s.heapUpdated = true
293293 } else if s.popCompleted {
294 if !b.noPop {
294 if b := b; !b.noPop {
295295 defer func() {
296296 s.barPopQueue = append(s.barPopQueue, b)
297297 }()