Codebase list golang-github-vbauerster-mpb / 53c6a01
minor: godoc Vladimir Bauer 3 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
238238 }
239239
240240 // Shutdown cancels any running bar immediately and then shutdowns (*Progress)
241 // instance. Normally you shouldn't call this method unless you know what are
242 // you doing. Proper way to shutdown is to call (*Progress).Wait() instead.
241 // instance. Normally this method shouldn't be called unless you know what you
242 // are doing. Proper way to shutdown is to call (*Progress).Wait() instead.
243243 func (p *Progress) Shutdown() {
244244 p.cancel()
245245 p.bwg.Wait()