Codebase list golang-github-vbauerster-mpb / 527f7f3
address issue #85 Vladimir Bauer 5 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
77 "io"
88 "io/ioutil"
99 "log"
10 "math"
1011 "os"
1112 "sync"
1213 "time"
369370 }
370371
371372 if s.popCompleted && !bs.noPop {
372 bs.priority = -1
373 bs.priority = -(math.MaxInt32 - s.idCount)
373374 }
374375
375376 bs.bufP = bytes.NewBuffer(make([]byte, 0, 128))