chore: ensure we null effect fields (#13529)

pull/13497/head
Dominic Gannaway 3 months ago committed by GitHub
parent 765ca030d6
commit ceb733c11a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -407,6 +407,10 @@ export function destroy_effect(effect, remove_dom = true) {
unlink_effect(effect);
}
if (DEV) {
effect.component_function = null;
}
// `first` and `child` are nulled out in destroy_effect_children
effect.next =
effect.prev =

Loading…
Cancel
Save