From c2c1a59f060fd7b59b08cea547e9566e1962ef48 Mon Sep 17 00:00:00 2001 From: Mathias Buus Date: Mon, 18 Nov 2024 10:10:12 +0100 Subject: [PATCH] close iterator also on extension shutdown --- lib/extension.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/extension.js b/lib/extension.js index dab0d83..2b4d038 100644 --- a/lib/extension.js +++ b/lib/extension.js @@ -120,6 +120,7 @@ class HyperbeeExtension { } catch (_) { // do nothing } finally { + ite.close().catch(noop) db.close().catch(noop) b.send() }