You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// RunWithContext runs the pinger with a context. This is a blocking function that will exit when it's// done or if the context is canceled. If Count or Interval are not specified, it will run continuously until// it is interrupted.func (p*Pinger) RunWithContext(ctx context.Context) error {
...ifp.ipaddr==nil {
err=p.Resolve()
}
...returnp.run(ctx, conn)
}
function RunWithContext didn't exit as expected as it will block in p.Resolve(), it didn't exit even when ctx is canceled before it was passed in
The text was updated successfully, but these errors were encountered:
function
RunWithContext
didn't exit as expected as it will block inp.Resolve()
, it didn't exit even when ctx is canceled before it was passed inThe text was updated successfully, but these errors were encountered: