removed comment

pull/11488/head
hardl 2 years ago
parent 84ff2c8318
commit ea6dbd80c2

@ -193,7 +193,7 @@ if (typeof HTMLElement === 'function') {
this.$$cn = false;
// In a microtask, because this could be a move within the DOM
Promise.resolve().then(() => {
if (!this.$$cn && this.$$c) { // this.$$c may be undefined if element was removed from DOM right after attaching
if (!this.$$cn && this.$$c) {
this.$$c.$destroy();
destroy_effect(this.$$me);
this.$$c = undefined;

Loading…
Cancel
Save