mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
probably best to close this
This commit is contained in:
parent
e820f0e7b9
commit
d08c41c13a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user