icodening commented on issue #13398:
URL: https://github.com/apache/dubbo/issues/13398#issuecomment-1863741644

   > @AlbumenJ 我断点看了下, 3.2.9在初始化NettyConnectionClient时, 新增了
   > 
   > ```java
   > private void initBootstrap() {
   >         ...
   >         nettyBootstrap.handler(new ChannelInitializer<SocketChannel>() {
   >             @Override
   >             protected void initChannel(SocketChannel ch) {
   >                 ...
   >                 ch.closeFuture().addListener(channelFuture -> doClose());
   >                 // TODO support Socks5
   >             }
   >         });
   >         this.bootstrap = nettyBootstrap;
   >     }
   > ```
   
   修改成`ch.closeFuture().addListener(channelFuture -> 
close());`就好了呗,预期结果应该是不会进入两次`doClose`的逻辑
   


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