mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-02-14 02:57:16 +00:00
tmpt
This commit is contained in:
parent
f7ec07d65c
commit
8a4ca96f02
@ -93,7 +93,6 @@ method write*(
|
|||||||
|
|
||||||
method closeImpl*(s: WsStream): Future[void] {.async.} =
|
method closeImpl*(s: WsStream): Future[void] {.async.} =
|
||||||
await s.session.close()
|
await s.session.close()
|
||||||
if not isNil(s.session.stream):
|
|
||||||
await s.session.stream.closeWait()
|
await s.session.stream.closeWait()
|
||||||
await procCall Connection(s).closeImpl()
|
await procCall Connection(s).closeImpl()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user