From 1b0e394d48324b5e8416f9a563eb2f35719f0906 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Wed, 16 Aug 2023 14:02:15 +0200 Subject: fix: release ReadeableStream in fetch (#17365) Fixes #16648 --------- Co-authored-by: Aapo Alasuutari --- ext/fetch/26_fetch.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/fetch/26_fetch.js') diff --git a/ext/fetch/26_fetch.js b/ext/fetch/26_fetch.js index 6be63d077..311a197a8 100644 --- a/ext/fetch/26_fetch.js +++ b/ext/fetch/26_fetch.js @@ -268,6 +268,7 @@ async function mainFetch(req, recursive, terminator) { } } WeakMapPrototypeDelete(requestBodyReaders, req); + reader.releaseLock(); core.tryClose(requestBodyRid); })(); } -- cgit v1.2.3