diff --git a/ping.go b/ping.go index e1c09ee..ef277ab 100644 --- a/ping.go +++ b/ping.go @@ -462,7 +462,6 @@ func (p *Pinger) runLoop( timeout := time.NewTicker(p.Timeout) interval := time.NewTicker(p.Interval) defer func() { - p.Stop() interval.Stop() timeout.Stop() }()