diff --git a/progress.go b/progress.go index 416bff5..e0e9c39 100644 --- a/progress.go +++ b/progress.go @@ -331,6 +331,7 @@ frame := <-b.frameCh if frame.err != nil { close(drop) + b.cancel() return frame.err // b.frameCh is buffered it's ok to return here } var usedRows int