diff --git a/src/store/indexeddb-local-backend.ts b/src/store/indexeddb-local-backend.ts index 96cd1f87d04..0ade8f1c4e4 100644 --- a/src/store/indexeddb-local-backend.ts +++ b/src/store/indexeddb-local-backend.ts @@ -191,7 +191,6 @@ export class LocalIndexedDBStoreBackend implements IIndexedDBBackend { this.db?.close(); // this does not call onclose this.disconnected = true; this.db = undefined; - onClose?.(); }; this.db.onclose = (): void => { this.disconnected = true;