Commit Graph

3 Commits (b6e978f74c75eddbeef4291afc72635b439f7ddf)

Author SHA1 Message Date
Daniel Gasienica da144edc56 Manually close database connection after migration 7 years ago
Daniel Gasienica fcd30cd919 Close database after migration
This is not 100% reliable as database connections are closed in a separate
thread according to the documentation:
- https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase/close
- https://stackoverflow.com/a/18639298
- 80c7a06d5c/backbone-indexeddb.js (L558-L565)
7 years ago
Daniel Gasienica d7c8d33edb Extract `runMigrations` 7 years ago