mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
(cherry picked from commit 722ceb869d)
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