mirror of https://github.com/vacp2p/nim-libp2p.git
fix: delete mplex channel
This commit is contained in:
parent
8e46460cf6
commit
1a987a9c5b
|
@ -112,7 +112,7 @@ method handle*(m: Mplex) {.async, gcsafe.} =
|
|||
msgType = msgType
|
||||
|
||||
await channel.closedByRemote()
|
||||
# m.getChannelList(initiator).del(id)
|
||||
m.getChannelList(initiator).del(id)
|
||||
of MessageType.ResetIn, MessageType.ResetOut:
|
||||
trace "resetting channel", id = id,
|
||||
initiator = initiator,
|
||||
|
|
Loading…
Reference in New Issue