LeoWoerteler opened a new pull request, #1377:
URL: https://github.com/apache/cxf/pull/1377

   The SelectorManager thread of the WebClient would normally shut down after 
the HttpClient's outer shell, the `HttpClientFacade` has been garbage 
collected. Unfortunately the `ProxySelector` instance created in 
`HttpClientHTTPConduit` is a non-static (anonymous) subclass, so it retains a 
hard reference to the enclosing `HttpClientHTTPConduit` instance and therefore 
also its `client` field. This gives the SelectorManager thread a hard reference 
to the `HttpClientFacade`, so the facade can never be garbage collected and the 
thread never shuts down. Making the class static solves the problem.


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