From 1b5c24dee8d239aeaa6d59f6653dc340bad846d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Tue, 3 Oct 2023 15:56:07 +0200 Subject: [PATCH] Also destroy the end callback stream in HTTPClientResponse deterministically. --- http/vibe/http/client.d | 1 + 1 file changed, 1 insertion(+) diff --git a/http/vibe/http/client.d b/http/vibe/http/client.d index 9490788dd8..21b74e2677 100644 --- a/http/vibe/http/client.d +++ b/http/vibe/http/client.d @@ -1259,6 +1259,7 @@ final class HTTPClientResponse : HTTPResponse { auto cli = m_client; m_client = null; cli.m_responding = false; + destroy(m_endCallback); destroy(m_zlibInputStream); destroy(m_chunkedInputStream); destroy(m_limitedInputStream);