fix dropping nested scopes
This commit is contained in:
1 parent
7f4e45de49
commit
8548b324f1
4 files changed
+15
-39
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user