Skip to content

Commit 7855c30

Browse files
committed
[transactions] WillFinish can mutate
1 parent 008a8b8 commit 7855c30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/store.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,14 +1264,15 @@ export const createStore: typeof createStoreDecl = (): Store => {
12641264
);
12651265
cellsTouched = valuesTouched = false;
12661266
}
1267-
transactions = -1;
12681267

12691268
callListeners(
12701269
finishTransactionListeners[0],
12711270
undefined,
12721271
cellsTouched,
12731272
valuesTouched,
12741273
);
1274+
1275+
transactions = -1;
12751276
callInvalidCellListeners(0);
12761277
if (cellsTouched) {
12771278
callTabularListenersForChanges(0);

0 commit comments

Comments
 (0)