correctly close stream

This commit is contained in:
Dmitriy Ryajov 2019-08-25 13:07:47 -06:00
parent 47b6b89fc5
commit 139b8a752b
1 changed files with 0 additions and 2 deletions

View File

@ -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