fix(http): ensure body resources are released on stream cancellation (#3228)

Co-authored-by: Amr Bashir <github@amrbashir.me>
This commit is contained in:
Del
2026-01-22 11:20:29 +08:00
committed by GitHub
parent 25ad21beff
commit 61e9b0ab64
3 changed files with 12 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
---
http: patch
http-js: patch
---
Cleanup resource when the returned `ReadableStream.cancel` is called to avoid memory leaks