-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing #229
Comments
I'm 99% sure it isn't this library. The library doesn't do auto-closing, and the error seems to happen in other libraries too. crbug.com seems like the right place for this. |
This may happen on Mobile Safari Issue in similar library: jensarps/IDBWrapper#80 |
Dexie has a workaround for this in >=3.2.1. Idb however, is closer to the native IndexedDB API and does not execute transactions in a callback as dexie does, which makes it harder to workaround "in the background" without requiring code change by its callers. But one solution would be to offer a new helper function to be used as an alternative to But I assume the best thing would be if Chrome and Safari fixed the bug :) |
We're still getting this issue, I was wondering if anyone has found a solution / workaround, or if it's still down to the Safari/Chrome gods? |
First of all: Thank you for this great module. It's making my life a lot easier.
Many of the users of my electron app encounter the error above. I personally was never able to reproduce it and I am not sure if this is caused by this module or just a general issue with chromium, but I am posting this here anyway in the hopes to find a new angle to tackle this problem, that has been bugging me for so long :)
johannesjo/super-productivity#398
dexie/Dexie.js#613
The text was updated successfully, but these errors were encountered: