remove the mount information when a node is dismounted

This commit is contained in:
Evan Almloff committed 2024-01-09 11:01:42 -06:00
1 parent 8eb2b74832
commit 41abffb267
1 file changed
+3
+3
View File
@@ -213,6 +213,9 @@ impl VNode {
// Clean up the roots, assuming we need to generate mutations for these
// This is done last in order to preserve Node ID reclaim order (reclaim in reverse order of claim)
self.reclaim_roots(mount, dom, to, gen_muts);
// Remove the mount information
dom.mounts.remove(mount.0);
}
fn reclaim_roots(