From fb390c57013a51338a58e33ed059c5604c14ab55 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 4 May 2022 20:09:15 +0530 Subject: fix(ext/http): explicitly close resource after reading (#14471) --- ext/http/01_http.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/http') diff --git a/ext/http/01_http.js b/ext/http/01_http.js index 5c9deb5a3..c60a4b05a 100644 --- a/ext/http/01_http.js +++ b/ext/http/01_http.js @@ -281,6 +281,7 @@ streamRid, resourceRid, ); + core.tryClose(resourceRid); readableStreamClose(respBody); // Release JS lock. } catch (error) { const connError = httpConn[connErrorSymbol]; -- cgit v1.2.3