Revert "close punchd connection when app is about to quit"
This reverts commit 1b7cc621db
.
This commit is contained in:
parent
a099907caa
commit
9caca83dd6
|
@ -245,8 +245,6 @@ proc runApp(serverHostname: string, serverPort: Port, peerId: string,
|
||||||
let msg = await sock.recv(4)
|
let msg = await sock.recv(4)
|
||||||
echo "received message: ", msg
|
echo "received message: ", msg
|
||||||
sock.close()
|
sock.close()
|
||||||
|
|
||||||
punchdConn.sock.close()
|
|
||||||
|
|
||||||
proc main() =
|
proc main() =
|
||||||
if paramCount() < 3 or paramCount() > 4:
|
if paramCount() < 3 or paramCount() > 4:
|
||||||
|
|
Loading…
Reference in New Issue