rocketraman
11/11/2021, 6:27 PMokhttp3.OkHttpClient - A connection to <https://example.com/> was leaked. Did you forget to close a response body?
I'm using 2.5.9, and apollo-runtime is the only user of okhttp3, except that I have com.squareup.okhttp3:logging-interceptor
enabled.
Is there anything in particular I should look for in my code that might be causing this?mbonnin
11/11/2021, 7:35 PMCallback.onHttpError
by any chance? This requires closing the rawResponse
manuallyrocketraman
11/11/2021, 7:36 PMmbonnin
11/11/2021, 7:39 PMCallback.onResponse()
doesn't expose a body so that must be somewhere elserocketraman
11/11/2021, 7:40 PMmbonnin
11/11/2021, 7:42 PMmbonnin
11/11/2021, 10:08 PMmbonnin
11/11/2021, 10:08 PMrocketraman
11/11/2021, 10:09 PMmbonnin
11/11/2021, 10:16 PMrocketraman
11/11/2021, 10:19 PM