diff --git a/bar.go b/bar.go index dea8dbd..ea3c3d7 100644 --- a/bar.go +++ b/bar.go @@ -161,7 +161,7 @@ } else { s.total = total } - if s.triggerComplete && !s.completed { + if s.triggerComplete && !s.completed && !s.aborted { s.current = s.total s.completed = true go b.forceRefresh() @@ -366,7 +366,7 @@ func (b *Bar) forceRefresh() { var anyOtherRunning bool b.container.traverseBars(func(bar *Bar) bool { - anyOtherRunning = b != bar && !bar.Completed() + anyOtherRunning = b != bar && !bar.Completed() && !bar.Aborted() return !anyOtherRunning }) if !anyOtherRunning {