Skip to content

Commit

Permalink
minor: one line comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vbauerster committed Aug 17, 2024
1 parent 3af1f33 commit ab517f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bar.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,7 @@ func (b *Bar) serve(bs *bState) {
case <-b.ctx.Done():
decoratorsOnShutdown(bs.decorators[0])
decoratorsOnShutdown(bs.decorators[1])
// bar can be aborted by canceling parent ctx
// without actually calling b.Abort
// bar can be aborted by canceling parent ctx without calling b.Abort
bs.aborted = !bs.completed()
b.bs = bs
close(b.bsOk)
Expand Down

0 comments on commit ab517f6

Please sign in to comment.