From ea831c84a9b9ce4a0e436a63a7a28f383210393d Mon Sep 17 00:00:00 2001 From: jszuminski Date: Fri, 11 Oct 2024 08:43:50 +0200 Subject: [PATCH] Fix(pool): pool was not set to false after destruction. --- lib/pool.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pool.js b/lib/pool.js index 6a875a5e..404a8ff7 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -230,6 +230,7 @@ export async function killPool() { if (!pool.destroyed) { await pool.destroy(); log(4, '[browser] Destroyed the pool of resources.'); + pool = false; } }