inc count before closing

This commit is contained in:
Dmitriy Ryajov 2020-05-15 12:09:52 -06:00
parent 3d9c0bffba
commit 77017d1e7e
1 changed files with 1 additions and 0 deletions

View File

@ -388,6 +388,7 @@ suite "Mplex":
count.inc
await stream.close()
count.inc
await stream.close()
if count == 10:
done.complete()