Skip to content
Permalink
Browse files

Only cleanup connections without forwards

  • Loading branch information...
antoniomika committed Mar 14, 2019
1 parent afba880 commit a85d6647db0f72d721f11e076c296192c33f818a
Showing with 1 addition and 2 deletions.
  1. +1 −2 main.go
@@ -151,9 +151,8 @@ func main() {
if count == 0 {
holderConn.Messages <- "No forwarding requests sent. Closing connection."
time.Sleep(1 * time.Millisecond)
holderConn.CleanUp(state)
}

holderConn.CleanUp(state)
case <-holderConn.Close:
return
}

0 comments on commit a85d664

Please sign in to comment.
You can’t perform that action at this time.