xuyicheng1995 commented on issue #4475:
URL: https://github.com/apache/shenyu/issues/4475#issuecomment-1471472742

   > This is simply allowing the garbage collection of an instance that is no 
longer reachable by the client, but is held due to a private static field. By 
using weak references, you allow the instance to be collected once it becomes 
unused.
   
   i think tast is a good idea, and I originally wanted to learn from Netty`s 
ReferenceCount class, user retain and release instance ref count, but it is a 
little diffcult


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

Reply via email to