another fix

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

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

Loading…
Cancel
Save