minor: godoc
Vladimir Bauer
3 years ago
| 238 | 238 | } |
| 239 | 239 | |
| 240 | 240 | // 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. | |
| 243 | 243 | func (p *Progress) Shutdown() { |
| 244 | 244 | p.cancel() |
| 245 | 245 | p.bwg.Wait() |