diff options
Diffstat (limited to 'core/gjs/src/astalify.ts')
-rw-r--r-- | core/gjs/src/astalify.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/gjs/src/astalify.ts b/core/gjs/src/astalify.ts index 76c2081..85d7531 100644 --- a/core/gjs/src/astalify.ts +++ b/core/gjs/src/astalify.ts @@ -77,14 +77,14 @@ export default function astalify< const ch = this.get_child() if (ch) this.remove(ch) - // if (ch && !children.includes(ch) && !this.noImplicitDestroy) - // ch?.destroy() + if (ch && !children.includes(ch) && !this.noImplicitDestroy) + ch?.destroy() } else if (this instanceof Gtk.Container) { for (const ch of this.get_children()) { this.remove(ch) - // if (!children.includes(ch) && !this.noImplicitDestroy) - // ch?.destroy() + if (!children.includes(ch) && !this.noImplicitDestroy) + ch?.destroy() } } |