Skip to content

Commit

Permalink
fix builder http leak
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Jan 17, 2025
1 parent ad34920 commit 133c3f4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ void handleResponse(final Request request, final okhttp3.Response response) {
if (handleResponseError(request, response, futureResponse)) {
return;
}
if (response.body() != null) {
response.body().close();
}
futureResponse.complete(Response.fromNullPayload());
}

Expand Down

0 comments on commit 133c3f4

Please sign in to comment.