-
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
DeleteDB should call Close() #309
Comments
Why not just |
and why the wait? |
This works for me:
|
I don't believe the types supported that. But I can always check again. And close is async, and I believe blocked doesn't handle promises well. But something might have changed. |
So how should I ascertain I can delete the database? Is close async? Close on plain indexeddb doesn't have event handlers right? If so, why would it be async in this library? |
DeleteDB always gets blocked because the database is never closed. It should automatically be closed on Delete.
Otherwise something like this is necessary:
The text was updated successfully, but these errors were encountered: