Codebase list golang-github-vbauerster-mpb / ddff5eb
fix nil pointer dereference Bar.bs is assigned at the end of life, so it's nil on queued (new) bar. Vladimir Bauer 3 years ago
1 changed file(s) with 0 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
272272 if qb, ok := s.queueBars[b]; ok {
273273 delete(s.queueBars, b)
274274 qb.priority = b.priority
275 qb.bs.dropOnComplete = drop
276275 pool = append(pool, qb)
277276 drop = true
278277 } else if s.popCompleted && !b.bs.noPop {