diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-05-04 20:09:15 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 20:09:15 +0530 |
commit | fb390c57013a51338a58e33ed059c5604c14ab55 (patch) | |
tree | 4fa7b08ce1f797d20f95145e0b981cd61032c27b /ext/http/01_http.js | |
parent | 253fbf9d2a15018cbba9c9ea2829bd70e9723362 (diff) |
fix(ext/http): explicitly close resource after reading (#14471)
Diffstat (limited to 'ext/http/01_http.js')
-rw-r--r-- | ext/http/01_http.js | 1 |
1 files changed, 1 insertions, 0 deletions
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]; |