diff --git a/example/prependETA/main.go b/example/prependETA/main.go index 213f4fc..cd26b6e 100644 --- a/example/prependETA/main.go +++ b/example/prependETA/main.go @@ -58,6 +58,6 @@ wg.Wait() p.Stop() + // p.AddBar(1) // panic: you cannot reuse p, create new one! fmt.Println("stop") - // p.AddBar(1) // panic: send on closed channnel } diff --git a/example/prependElapsed/main.go b/example/prependElapsed/main.go index 0886f9f..9bd9079 100644 --- a/example/prependElapsed/main.go +++ b/example/prependElapsed/main.go @@ -58,6 +58,6 @@ wg.Wait() p.Stop() + // p.AddBar(1) // panic: you cannot reuse p, create new one! fmt.Println("stop") - // p.AddBar(1) // panic: send on closed channnel } diff --git a/example/remove/main.go b/example/remove/main.go index 64af42d..8711571 100644 --- a/example/remove/main.go +++ b/example/remove/main.go @@ -63,6 +63,6 @@ wg.Wait() p.Stop() + // p.AddBar(1) // panic: you cannot reuse p, create new one! fmt.Println("stop") - // p.AddBar(1) // panic: send on closed channnel } diff --git a/example/sort/main.go b/example/sort/main.go index b162716..ce9ec0f 100644 --- a/example/sort/main.go +++ b/example/sort/main.go @@ -57,8 +57,8 @@ wg.Wait() p.Stop() + // p.AddBar(1) // panic: you cannot reuse p, create new one! fmt.Println("stop") - // p.AddBar(1) // panic: send on closed channnel } func getDecor() mpb.DecoratorFunc {