From 766f4f101d3ca215c86681125ed576c616c14645 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Thu, 21 Jun 2018 13:39:25 -0400 Subject: [PATCH] TODO: review this --- dht/node.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dht/node.go b/dht/node.go index 9607d1e..58dd3fd 100644 --- a/dht/node.go +++ b/dht/node.go @@ -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):