Codebase list golang-github-vbauerster-mpb / 0755427
wait for bars Vladimir Bauer 3 years ago
1 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
270270 p.cancel() // cancel all bars
271271 _, _ = fmt.Fprintln(s.debugOut, err)
272272 render = func() error { return nil }
273 p.once.Do(p.shutdown)
273 go func() {
274 p.bwg.Wait()
275 p.once.Do(p.shutdown)
276 }()
274277 }
275278 case <-s.shutdownNotifier:
276279 for s.heapUpdated {