Skip to content

Commit

Permalink
fix(#37): Fix anonymization process logging
Browse files Browse the repository at this point in the history
  • Loading branch information
borisershov committed Aug 8, 2024
1 parent 08d2d5d commit 0160782
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion routines/anonymizer/anonymizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0160782

Please sign in to comment.