diff --git a/bar.go b/bar.go index ef371f4..3a016b5 100644 --- a/bar.go +++ b/bar.go @@ -456,7 +456,7 @@ for { select { case renderReq <- time.Now(): - case <-b.done: + case <-b.ctx.Done(): return } }