We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fb0342 commit 42ea106Copy full SHA for 42ea106
packages/firestore/src/local/simple_db.ts
@@ -126,7 +126,7 @@ export class SimpleDbTransaction {
126
// speed up index DB processing if the event loop remains blocks.
127
// eslint-disable-next-line @typescript-eslint/no-explicit-any
128
const maybeV3IndexedDb = this.transaction as any;
129
- if (typeof maybeV3IndexedDb.commit === 'function') {
+ if (!this.aborted && typeof maybeV3IndexedDb.commit === 'function') {
130
maybeV3IndexedDb.commit();
131
}
132
0 commit comments