diff --git a/libp2p/muxers/mplex/lpchannel.nim b/libp2p/muxers/mplex/lpchannel.nim index 35d1d63c1..7261ff22a 100644 --- a/libp2p/muxers/mplex/lpchannel.nim +++ b/libp2p/muxers/mplex/lpchannel.nim @@ -118,7 +118,7 @@ proc reset*(s: LPChannel) {.async.} = await s.conn.close() trace "Can't send reset message", s, conn = s.conn, msg = exc.msg - await resetMessage() + asyncSpawn resetMessage() await s.closeImpl() # noraises, nocancels if not s.closing.finished: