mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-02-04 22:33:49 +00:00
mmmm
This commit is contained in:
parent
0f73ce0ea9
commit
f7ec07d65c
@ -93,6 +93,8 @@ 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 procCall Connection(s).closeImpl()
|
||||
|
||||
method getWrapped*(s: WsStream): Connection = nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user