sinberCS commented on issue #10010:
URL: https://github.com/apache/rocketmq/issues/10010#issuecomment-3767403474

   Thanks for the suggestion.
   However, according to Netty's design and guarantees, the 
ChannelHandlerContext (ctx) is always tied to a Channel.
   The channelRead event can only be triggered on an active, existing channel.
   Therefore, ctx.channel() is guaranteed to be non-null in this context. 
Adding a null check would be redundant.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to