summaryrefslogtreecommitdiffhomepage
path: root/receive.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2018-05-05 22:07:58 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2018-05-05 22:07:58 +0200
commitabe2651ad5a22c81bc857366aad3e8e9ade4490d (patch)
tree02d55bfa601f05d1ff15b7790f254f90974f85a7 /receive.go
parent34891d92cd36289294d38cd9f26f1fc2456ef26a (diff)
Removed remaining signals from peer
1. Removed remaining signals from peer struct 2. Made needAnotherKeepalive local 3. Removed environment check from warning text (annoying when debugging)
Diffstat (limited to 'receive.go')
-rw-r--r--receive.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/receive.go b/receive.go
index 1d8b718..b6261b2 100644
--- a/receive.go
+++ b/receive.go
@@ -561,7 +561,7 @@ func (peer *Peer) RoutineSequentialReceiver() {
select {
- case <-peer.routines.stop.Wait():
+ case <-peer.routines.stop:
return
case elem, ok := <-peer.queue.inbound: