only call onDestroy callbacks

pull/4522/head
hontas 7 years ago
parent 18334b4477
commit a493b57518

@ -185,7 +185,7 @@ if (typeof HTMLElement === 'function') {
}
disconnectedCallback() {
this.$destroy();
run_all(this.$$.on_destroy);
}
$destroy() {

Loading…
Cancel
Save