diff --git a/bar.go b/bar.go index fc080f5..1e31d9c 100644 --- a/bar.go +++ b/bar.go @@ -449,12 +449,10 @@ } func (b *Bar) forceRefresh(refreshCh chan<- time.Time) { - b.container.bwg.Add(1) go b.forceRefreshImpl(refreshCh) } func (b *Bar) forceRefreshImpl(refreshCh chan<- time.Time) { - defer b.container.bwg.Done() var anyOtherRunning bool b.container.traverseBars(func(bar *Bar) bool { anyOtherRunning = b != bar && bar.IsRunning()