Skip to content

Commit

Permalink
fix rateLimiter not stop
Browse files Browse the repository at this point in the history
  • Loading branch information
anhnmt committed Jun 16, 2023
1 parent 0d370ef commit 458f638
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ func (r *Runner) Close() {
// nolint:errcheck // ignore
r.hm.Close()
r.hp.Dialer.Close()
r.ratelimiter.Stop()
if r.options.HostMaxErrors >= 0 {
r.HostErrorsCache.Purge()
}
Expand Down

0 comments on commit 458f638

Please sign in to comment.