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
@@ -682,6 +682,6 @@ impl VirtualDom {
impl Drop for VirtualDom {
fn drop(&mut self) {
// Simply drop this scope which drops all of its children
self.drop_scope(ScopeId(0));
self.drop_scope(ScopeId(0), true);
}
}