gnodet commented on PR #409:
URL: https://github.com/apache/cxf/pull/409#issuecomment-4046218790

   Closing this PR — CXF-7710 has been properly resolved on main through a 
superior approach: `releaseThreadContexts()` + an `AutoCloseable` 
`Client.Contexts` API that allows try-with-resources cleanup. The approach in 
this PR (using `new String(threadName)` as `WeakHashMap` key) was identified by 
reviewers as fundamentally flawed — the keys have no strong references and can 
be GC'd immediately. Thank you for the contribution\!


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