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()
|
await s.conn.close()
|
||||||
trace "Can't send reset message", s, conn = s.conn, msg = exc.msg
|
trace "Can't send reset message", s, conn = s.conn, msg = exc.msg
|
||||||
|
|
||||||
await resetMessage()
|
asyncSpawn resetMessage()
|
||||||
|
|
||||||
await s.closeImpl() # noraises, nocancels
|
await s.closeImpl() # noraises, nocancels
|
||||||
if not s.closing.finished:
|
if not s.closing.finished:
|
||||||
|
|
Loading…
Reference in New Issue