mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-02-10 09:06:23 +00:00
tmpt
This commit is contained in:
parent
f7ec07d65c
commit
8a4ca96f02
@ -93,8 +93,7 @@ method write*(
|
||||
|
||||
method closeImpl*(s: WsStream): Future[void] {.async.} =
|
||||
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()
|
||||
|
||||
method getWrapped*(s: WsStream): Connection = nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user