destroy child effects

pull/10798/head
Rich Harris 2 years ago
parent fbf8308b80
commit f2e583260f

@ -179,6 +179,7 @@ function each(anchor_node, collection, flags, key_fn, render_fn, fallback_fn, re
for (const b of block.v) { for (const b of block.v) {
if (b.d !== null) { if (b.d !== null) {
destroy_effect(b.e);
remove(b.d); remove(b.d);
} }
} }

Loading…
Cancel
Save