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) --- cli/tests/unit/http_test.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'cli') diff --git a/cli/tests/unit/http_test.ts b/cli/tests/unit/http_test.ts index 39bc82fb0..e9fb61dc4 100644 --- a/cli/tests/unit/http_test.ts +++ b/cli/tests/unit/http_test.ts @@ -871,7 +871,6 @@ Deno.test( await respondWith(new Response(f.readable, { status: 200 })); httpConn.close(); listener.close(); - f.close(); })(); const resp = await fetch("http://127.0.0.1:4503/"); const body = await resp.arrayBuffer(); -- cgit v1.2.3