Skip to content

Commit

Permalink
Merge pull request #38 from nixys/fix/37
Browse files Browse the repository at this point in the history
fix(#37): Fix anonymization process logging
  • Loading branch information
borisershov authored Aug 8, 2024
2 parents 08d2d5d + 0160782 commit dfa5e33
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 dfa5e33

Please sign in to comment.