diff --git a/bar.go b/bar.go index b6016a1..a9cf914 100644 --- a/bar.go +++ b/bar.go @@ -298,7 +298,7 @@ case b.operateState <- func(s *bState) { result <- s.completed }: return <-result case <-b.done: - return true + return b.bs.completed } }