comment for future self
Vladimir Bauer
1 year, 10 months ago
| 417 | 417 |
case <-b.ctx.Done():
|
| 418 | 418 |
decoratorsOnShutdown(bs.decorators[0])
|
| 419 | 419 |
decoratorsOnShutdown(bs.decorators[1])
|
|
420 |
// bar can be aborted by canceling parent ctx
|
|
421 |
// without actually calling b.Abort
|
| 420 | 422 |
bs.aborted = !bs.completed()
|
| 421 | 423 |
b.bs = bs
|
| 422 | 424 |
close(b.bsOk)
|