Correct misspell in comments
Vladimir Bauer
9 years ago
| 29 | 29 |
inProgress chan struct{}
|
| 30 | 30 |
cancel <-chan struct{}
|
| 31 | 31 |
|
| 32 | |
// follawing are used after (*Bar.done) is closed
|
|
32 |
// following are used after (*Bar.done) is closed
|
| 33 | 33 |
width int
|
| 34 | 34 |
state state
|
| 35 | 35 |
}
|
| 68 | 68 |
stopReqCh chan struct{}
|
| 69 | 69 |
uncompletedBarStopReqCh chan struct{}
|
| 70 | 70 |
|
| 71 | |
// follawing is used after (*Progress.done) is closed
|
|
71 |
// following is used after (*Progress.done) is closed
|
| 72 | 72 |
conf userConf
|
| 73 | 73 |
}
|
| 74 | 74 |
|
|
| 212 | 212 |
case <-p.done:
|
| 213 | 213 |
return
|
| 214 | 214 |
default:
|
| 215 | |
// complet Total unknown bars
|
|
215 |
// complete Total unknown bars
|
| 216 | 216 |
p.uncompletedBarStopReqCh <- struct{}{}
|
| 217 | 217 |
// wait for all bars to quit
|
| 218 | 218 |
p.wg.Wait()
|