b.flushDone in own goroutine
Vladimir Bauer
9 years ago
1 changed file(s) with
3 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+3
-1
progress.go
less
more
253
253
cw.Flush()
254
254
255
255
for _, b := range bars {
256
b.flushDone()
256
go func(b *Bar) {
257
b.flushDone()
258
}(b)
257
259
}
258
260
case d := <-p.rrChangeReqCh:
259
261
t.Stop()