mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
Motivation: The current test function does not wait for the futures from close to return, and so they may in principle be leaked. This obscures errors that the test might hit with precondition failures. Modifications: Changed the defer statements to wait for the futures. Result: Fewer spurious test failures.