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

+1 -1
View File
@@ -934,7 +934,7 @@ impl<'b> VirtualDom {
*comp.props.borrow_mut() = unsafe { std::mem::transmute(props) };
// Now drop all the resouces
self.drop_scope(scope);
self.drop_scope(scope, false);
}
fn find_first_element(&self, node: &'b VNode<'b>) -> ElementId {