Skip to content

Commit d331f66

Browse files
committed
add comment
1 parent d5ba3e2 commit d331f66

File tree

1 file changed

+2
-1
lines changed
  • packages/svelte/src/internal/client/dom/blocks

1 file changed

+2
-1
lines changed

packages/svelte/src/internal/client/dom/blocks/branches.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,9 @@ export class BranchManager {
9797
}
9898
}
9999

100-
// outro/destroy effects
100+
// outro/destroy all onscreen effects...
101101
for (const [k, effect] of this.#onscreen) {
102+
// ...except the one that was just committed
102103
if (k === key) continue;
103104

104105
const on_destroy = () => {

0 commit comments

Comments
 (0)