Codebase list golang-github-vbauerster-mpb / d22e27c
Abort: force refresh if there is one bar only Vladimir Bauer 4 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
277277 default:
278278 if drop {
279279 b.container.dropBar(b)
280 } else if b.container.BarCount() == 1 {
281 b.container.refreshCh <- time.Now()
280282 }
281283 b.cancel()
282284 }