TODO: review this
This commit is contained in:
parent
18caec8d40
commit
766f4f101d
1 changed files with 3 additions and 0 deletions
|
@ -422,6 +422,9 @@ func (n *Node) SendAsync(ctx context.Context, contact Contact, req Request, opti
|
|||
case res := <-tx.res:
|
||||
ch <- &res
|
||||
return
|
||||
//TODO: does this belong here?
|
||||
//case <-n.stop.Ch():
|
||||
// return
|
||||
case <-ctx.Done():
|
||||
return
|
||||
case <-time.After(udpTimeout):
|
||||
|
|
Loading…
Reference in a new issue