XIACYBING opened a new issue, #13450: URL: https://github.com/apache/dubbo/issues/13450
<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy --> <!-- For all design discussions please continue. --> 1. DubboProtocol在关闭的时候,会对持有的SharedClientsProvider进行销毁; 2. 但是在这之后,DubboProtocol会调用父类AbstractProtocol对当前协议下的Invoker进行销毁,而在dubbo协议对应的DubboInvoker中,又会对持有的ClientsProvider(可以是SharedClientsProvider)再次进行销毁; 这个情况是合理的吗?在2.7.15版本和3.3版本都对比过,是类似的逻辑; 而这个问题会导致ReferenceCountExchangeClient内部,及相关底层类的close被二次调用 附上相关代码: DubboProtocol的销毁:  AbstractProtocol的销毁:  DubboInvoker的销毁:  ReferenceCountExchangeClient的关闭:  -- 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]
