Codebase list golang-github-vbauerster-mpb / 6737458
set bs.aborted as inverted bs.completed Vladimir Bauer 4 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7979 case op := <-operateState:
8080 op(bs)
8181 case <-ctx.Done():
82 bs.aborted = !bs.completed
8283 bs.decoratorShutdownNotify()
8384 close(done)
8485 return
314315 fmt.Fprintln(s.debugOut, p)
315316 _, _ = s.debugOut.Write(debug.Stack())
316317 }
317 s.aborted = true
318 s.aborted = !s.completed
318319 s.extender = makePanicExtender(p)
319320 reader, lines = s.extender(nil, s.reqWidth, stat)
320321 b.recoveredPanic = p