forked from mystiq/hydrogen-web
probably best to close this
This commit is contained in:
parent
e820f0e7b9
commit
d08c41c13a
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue