Open
Description
I am using retrofit 2 and I was wondering if i have to call the close function when receiving an error body or retrofit closes it automatically?.
public void onResponse(Call call, Response response) {
if (response.isSuccessful()) {
// Success
} else {
response.errorBody().close(); ???????????????????
}
}
Thank you