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;