mirror of https://github.com/vacp2p/nim-libp2p.git
inc count before closing
This commit is contained in:
parent
3d9c0bffba
commit
77017d1e7e
|
@ -388,6 +388,7 @@ suite "Mplex":
|
|||
count.inc
|
||||
await stream.close()
|
||||
count.inc
|
||||
await stream.close()
|
||||
if count == 10:
|
||||
done.complete()
|
||||
|
||||
|
|
Loading…
Reference in New Issue