Codebase list golang-github-vbauerster-mpb / 2a03713
*Bar.status ch buffer 1 Vladimir Bauer 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
464464 total = b.lastState.total
465465 current = b.lastState.current
466466 } else {
467 ch := make(chan state)
467 ch := make(chan state, 1)
468468 b.stateReqCh <- ch
469469 state := <-ch
470470 total = state.total