zrlw edited a comment on issue #9283:
URL: https://github.com/apache/dubbo/issues/9283#issuecomment-971427659


   #9284 现在采取的方法:
   1. 
在RpcContext销毁SERVICE_CONTEXT时,通知InstanceAddressURL采用强引用方式保存RpcServiceContext以便能够继续访问RpcServiceContext的成员属性;
   2. 
修改InstanceAddressURL获取ServiceContext的相关方法:如有保存的ServiceContext,而且保存的ServiceContext的consumerUrl的scope
 model为destroyed状态,则使用保存的ServiceContext,否则使用RpcContext的ServiceContext。
   
   验证测试类:SpringXmlConfigTest


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