Codebase list golang-github-vbauerster-mpb / 85a05e7
prefer public api Vladimir Bauer 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
339339 func (b *Bar) serve(ctx context.Context, bs *bState) {
340340 defer b.container.bwg.Done()
341341 if bs.afterBar != nil && bs.sync {
342 <-bs.afterBar.done
342 bs.afterBar.Wait()
343343 }
344344 for {
345345 select {