From ab517f61662ff94eaedb72d74d2e9de4b8fa5904 Mon Sep 17 00:00:00 2001 From: Vladimir Bauer Date: Sun, 18 Aug 2024 00:20:41 +0500 Subject: [PATCH] minor: one line comment --- bar.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bar.go b/bar.go index 4d4a4da0..24872b2e 100644 --- a/bar.go +++ b/bar.go @@ -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)