Reset process stats when stopped

This commit is contained in:
Ingo Oppermann
2022-10-13 10:57:17 +02:00
parent 6ef334331b
commit 05a2268662

View File

@@ -104,6 +104,8 @@ func (l *limiter) Stop() {
l.proc.Stop()
l.proc = nil
l.reset()
}
func (l *limiter) ticker(ctx context.Context) {