Reset process stats when stopped
This commit is contained in:
parent
6ef334331b
commit
05a2268662
@ -104,6 +104,8 @@ func (l *limiter) Stop() {
|
||||
|
||||
l.proc.Stop()
|
||||
l.proc = nil
|
||||
|
||||
l.reset()
|
||||
}
|
||||
|
||||
func (l *limiter) ticker(ctx context.Context) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user