Skip to content

Commit 011741e

Browse files
committed
note to self
1 parent 5a3f7c2 commit 011741e

File tree

1 file changed

+2
-0
lines changed
  • packages/svelte/src/internal/client/reactivity

1 file changed

+2
-0
lines changed

packages/svelte/src/internal/client/reactivity/batch.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ export class Batch {
4747

4848
var current_values = new Map();
4949

50+
// TODO this shouldn't be necessary, but tests fail otherwise,
51+
// presumably because we need a try-finally somewhere
5052
for (const [source, current] of this.current) {
5153
source.v = current;
5254
}

0 commit comments

Comments
 (0)