From d08c41c13ace01bfaa42b06d3de70a92220a66b3 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 4 Mar 2021 22:09:11 +0100 Subject: [PATCH] probably best to close this --- src/matrix/storage/idb/quirks.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matrix/storage/idb/quirks.js b/src/matrix/storage/idb/quirks.js index b37750f4..8f4c1826 100644 --- a/src/matrix/storage/idb/quirks.js +++ b/src/matrix/storage/idb/quirks.js @@ -32,6 +32,7 @@ export async function detectWebkitEarlyCloseTxnBug() { await Promise.resolve(); writeTxn.objectStore("test").add({key: "somekey", value: "foo"}); await txnAsPromise(writeTxn); + db.close(); } catch (err) { if (err.name === "TransactionInactiveError") { return true;