diff --git a/bar.go b/bar.go index 5f6e1f7..eb80fee 100644 --- a/bar.go +++ b/bar.go @@ -401,7 +401,7 @@ // Wait blocks until bar is completed or aborted. func (b *Bar) Wait() { - <-b.ctx.Done() + <-b.bsOk } func (b *Bar) serve(bs *bState) {