From 139b8a752b1030d8314a05e5e004fb28a28ab124 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Sun, 25 Aug 2019 13:07:47 -0600 Subject: [PATCH] correctly close stream --- libp2p/chronosstream.nim | 2 -- 1 file changed, 2 deletions(-) diff --git a/libp2p/chronosstream.nim b/libp2p/chronosstream.nim index be25701..736d74f 100644 --- a/libp2p/chronosstream.nim +++ b/libp2p/chronosstream.nim @@ -56,6 +56,4 @@ method close*(s: ChronosStream) {.async.} = await s.writer.closeWait() await s.client.closeWait() - s.server.stop() - s.server.close() s.closed = true \ No newline at end of file