mirror of
https://github.com/apple/swift-nio
synced 2026-11-26 04:57:49 +00:00
Motivation: If registration of a Channel fails we need to close that Channel. Previously we'd just drop it on the floor which triggers an assertion that an open channel got leaked. Modifications: In cases where the Channel registration fails, we need to close that channel. Result: - No crashes if registration fails. - fixes #417