mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-23 19:30:15 +00:00
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…
x
Reference in New Issue
Block a user