mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-02-10 17:16:23 +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.} =
|
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 procCall Connection(s).closeImpl()
|
await procCall Connection(s).closeImpl()
|
||||||
|
|
||||||
method getWrapped*(s: WsStream): Connection = nil
|
method getWrapped*(s: WsStream): Connection = nil
|
||||||
|
Loading…
x
Reference in New Issue
Block a user