Skip to content

Commit

Permalink
Merge pull request #2751 from vibe-d/fix_freelist_ref_gc_leak
Browse files Browse the repository at this point in the history
Also destroy the end callback stream in HTTPClientResponse deterministically
  • Loading branch information
l-kramer committed Oct 13, 2023
2 parents f821d76 + 1b5c24d commit 78e37d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http/vibe/http/client.d
Expand Up @@ -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);
Expand Down

0 comments on commit 78e37d1

Please sign in to comment.