diff --git a/routines/anonymizer/anonymizer.go b/routines/anonymizer/anonymizer.go index cfa907a..5eca238 100644 --- a/routines/anonymizer/anonymizer.go +++ b/routines/anonymizer/anonymizer.go @@ -42,7 +42,9 @@ func Runtime(app appctx.App) error { timer = time.NewTimer(cc.Progress.Rhythm) if cc.Progress.Rhythm == 0 { - timer.Stop() + if !timer.Stop() { + <-timer.C + } } if err := anonymize(