fix dropping nested scopes

This commit is contained in:
Evan Almloff committed 2023-01-15 21:23:49 -06:00
1 parent 7f4e45de49
commit 8548b324f1
4 files changed
+15 -39

No files matched your search

-8
View File
@@ -195,14 +195,6 @@ impl<'a> VNode<'a> {
}
}
}
pub(crate) fn clear_listeners(&self) {
for attr in self.dynamic_attrs {
if let AttributeValue::Listener(l) = &attr.value {
l.borrow_mut().take();
}
}
}
}
/// A static layout of a UI tree that describes a set of dynamic and static nodes.