@@ -110,9 +110,9 export function destroy(target: Node | I | |||
|
110 | 110 | } else if (isDestroyable(target)) { |
|
111 | 111 | target.destroy(); |
|
112 | 112 | } else if (isNode(target)) { |
|
113 |
const |
|
|
114 |
if ( |
|
|
115 |
|
|
|
113 | const w = isElementNode(target) ? registry.byNode(target) : undefined; | |
|
114 | if (w) { | |
|
115 | w.destroyRecursive(); | |
|
116 | 116 | } else { |
|
117 | 117 | registry.findWidgets(target).forEach(destroy); |
|
118 | 118 | dom.destroy(target); |
General Comments 0
You need to be logged in to leave comments.
Login now