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 011741e commit 623fb50Copy full SHA for 623fb50
packages/svelte/src/internal/client/reactivity/batch.js
@@ -47,9 +47,10 @@ export class Batch {
47
48
var current_values = new Map();
49
50
- // TODO this shouldn't be necessary, but tests fail otherwise,
51
- // presumably because we need a try-finally somewhere
52
for (const [source, current] of this.current) {
+ // TODO this shouldn't be necessary, but tests fail otherwise,
+ // presumably because we need a try-finally somewhere, and the
53
+ // source wasn't correctly reverted after the previous batch
54
source.v = current;
55
}
56
0 commit comments