diff --git a/examples/app/app.nim b/examples/app/app.nim index 3183cbf..c0f2e8c 100644 --- a/examples/app/app.nim +++ b/examples/app/app.nim @@ -245,6 +245,8 @@ 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: