diff --git a/_examples/remove/main.go b/_examples/remove/main.go index 6ff637f..e9894ed 100644 --- a/_examples/remove/main.go +++ b/_examples/remove/main.go @@ -43,7 +43,7 @@ max := 100 * time.Millisecond for i := 0; bar.IsRunning(); i++ { if bar.ID() == 2 && i >= 42 { - bar.Abort(false) + go bar.Abort(false) } time.Sleep(time.Duration(rng.Intn(10)+1) * max / 10) bar.Increment()