You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was reading the console log and found that whenever there's a bad response the following message shows up:
A connection to https://image.tmdb.org/ was leaked. Did you forget to close a response body?
Any workaround for that? I was digging a little and the solution is to close the body response on finally try catch on the ApiResponse.kt but I cannot get it to work.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
@eliasbellido
Hi, it seems to happen the close() or string() method is not called when failed requests.
I pushed a commit related to close() related to the failed requests.
Could you check the warning still happened?
Hi, I was reading the console log and found that whenever there's a bad response the following message shows up:
A connection to https://image.tmdb.org/ was leaked. Did you forget to close a response body?
Any workaround for that? I was digging a little and the solution is to close the body response on finally try catch on the ApiResponse.kt but I cannot get it to work.
Thanks in advance.
The text was updated successfully, but these errors were encountered: