From 9caca83dd6d6a7a192bb4cd2134d7f7da4fc851c Mon Sep 17 00:00:00 2001 From: Christian Ulrich Date: Sat, 10 Oct 2020 12:01:20 +0200 Subject: [PATCH] Revert "close punchd connection when app is about to quit" This reverts commit 1b7cc621db70bf6b63beeb42ab5732223a434497. --- examples/app/app.nim | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/app/app.nim b/examples/app/app.nim index c0f2e8c..3183cbf 100644 --- a/examples/app/app.nim +++ b/examples/app/app.nim @@ -245,8 +245,6 @@ proc runApp(serverHostname: string, serverPort: Port, peerId: string, let msg = await sock.recv(4) echo "received message: ", msg sock.close() - - punchdConn.sock.close() proc main() = if paramCount() < 3 or paramCount() > 4: