restore drop scope

This commit is contained in:
Evan Almloff committed 2024-01-05 12:28:45 -06:00
1 parent efd301a878
commit a1676537ad
4 files changed
+25 -68

No files matched your search

+2 -2
View File
@@ -597,7 +597,7 @@ impl VirtualDom {
self.wait_for_work().await;
self.render_immediate(&mut NoOpMutations);;
self.render_immediate(&mut NoOpMutations);
}
}
@@ -672,6 +672,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::ROOT, true);
self.drop_scope(ScopeId::ROOT);
}
}