mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-02-16 14:58:11 +00:00
revert asyncSpawn change
This commit is contained in:
parent
242f516b5b
commit
9c1d879a52
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user