From 2969f864f7fa5ecd72251002c718f67f61980e96 Mon Sep 17 00:00:00 2001 From: Enrico Del Fante Date: Fri, 17 Jan 2025 12:34:38 +0100 Subject: [PATCH] fix electra attestation performance tracker --- .../ethereum/executionclient/rest/ResponseHandlerVoid.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ethereum/executionclient/src/main/java/tech/pegasys/teku/ethereum/executionclient/rest/ResponseHandlerVoid.java b/ethereum/executionclient/src/main/java/tech/pegasys/teku/ethereum/executionclient/rest/ResponseHandlerVoid.java index eeab59c4eca..1c1dcc3d300 100644 --- a/ethereum/executionclient/src/main/java/tech/pegasys/teku/ethereum/executionclient/rest/ResponseHandlerVoid.java +++ b/ethereum/executionclient/src/main/java/tech/pegasys/teku/ethereum/executionclient/rest/ResponseHandlerVoid.java @@ -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()); }