Reset process stats when stopped
This commit is contained in:
parent
6ef334331b
commit
05a2268662
1 changed files with 2 additions and 0 deletions
|
|
@ -104,6 +104,8 @@ func (l *limiter) Stop() {
|
|||
|
||||
l.proc.Stop()
|
||||
l.proc = nil
|
||||
|
||||
l.reset()
|
||||
}
|
||||
|
||||
func (l *limiter) ticker(ctx context.Context) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue