mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-02-27 12:00:44 +00:00
inc count before closing
This commit is contained in:
parent
fa7d69b973
commit
94d4f98ee8
@ -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