SURYAS1306 commented on issue #16054:
URL: https://github.com/apache/dubbo/issues/16054#issuecomment-3843187927

   Hi @liuhao1117 ,
   
   I’ve investigated this issue and confirmed that the channel cleanup logic 
has already been added in the current codebase.
   
   In `NettyConnectionHandler.channelInactive()`, 
`NettyChannel.removeChannel(ch)` is now invoked in a `finally` block, ensuring 
the channel is always removed from `CHANNEL_MAP` when the connection becomes 
inactive.
   
   I’ve also added a regression test to validate the NettyChannel lifecycle 
cleanup behavior and prevent regressions in this area: 
https://github.com/apache/dubbo/pull/16068
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to