another fix

pull/3046/head
Rich Harris 6 years ago
parent 2490e33a06
commit 4f66f592ec

@ -153,8 +153,9 @@ if (typeof HTMLElement !== 'undefined') {
} }
$destroy() { $destroy() {
this.$$.fragment.d(1); const { fragment } = this.$$;
destroy(this); destroy(this);
fragment.d(1);
this.$destroy = noop; this.$destroy = noop;
} }
@ -179,8 +180,9 @@ export class SvelteComponent {
$$: T$$; $$: T$$;
$destroy() { $destroy() {
this.$$.fragment.d(1); const { fragment } = this.$$;
destroy(this); destroy(this);
fragment.d(1);
this.$destroy = noop; this.$destroy = noop;
} }

Loading…
Cancel
Save