Codebase list golang-github-vbauerster-mpb / ee9b2cb
increment bwg inside newBar Vladimir Bauer 3 years ago
2 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7676 cancel: cancel,
7777 }
7878
79 container.bwg.Add(1)
7980 go bar.serve(ctx, bs)
8081 return bar
8182 }
154154 res.bs.shutdownListeners = append(res.bs.shutdownListeners, d)
155155 }
156156 })
157 p.bwg.Add(1)
158157 return res.bar
159158 case <-p.done:
160159 panic(DoneError)