mirror of
https://github.com/apple/swift-nio
synced 2026-11-27 05:04:22 +00:00
Motivation: BaseSocketChannel used to assert that `channelRead0` is only called when the channel is active. That's bogus and it's trivial to hit this issue when calling `fireChannelRead` in the last `ChannelHandler` when the channel has gone inactive. Modifications: remove assertion, add comment Result: fewer crashes