Codebase list golang-github-vbauerster-mpb / d95fe5a
Fix typos in comment Vladimir Bauer 9 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
205205 return p
206206 }
207207
208 // Stop shutdowns Progress' goroutine
209 // Should be called only after each bor's work done, i.e. bar has reached its
210 // 100 %. It is NOT for concelation. Use WithContext or WithCancel for
208 // Stop shutdowns Progress' goroutine.
209 // Should be called only after each bar's work done, i.e. bar has reached its
210 // 100 %. It is NOT for cancelation. Use WithContext or WithCancel for
211211 // cancelation purposes.
212212 func (p *Progress) Stop() {
213213 p.wg.Wait()