Closed bruestel closed 6 years ago
Could you explain why the try would fix that? Shouldn't it have a finally and then close the source?
Oh I see now that is a try with resources and I guess the body implements autoclose. I was checking it with my mobile and did not see it
Prevent warning about leaked connection (' A connection to https://xyz.com/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger. getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);').