zrlw commented on pull request #9284: URL: https://github.com/apache/dubbo/pull/9284#issuecomment-972916704
换了一种实现方式: 在RpcContext销毁SERVICE_CONTEXT时,通知InstanceAddressURL采用浅克隆方式保存RpcServiceContext的成员属性,InstanceAddressURL相关方法首先判断ServiceContext是否已保存,如果已保存则直接使用,否则调用RpcContext新增的ServiceContext获取方法,该方法提供了销毁通知接口。 -- 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: notifications-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org