Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
A stale frame root is dropped by a comparison of its own (a closure of raea gen's shape, the dupes check)
shinyobjectz7e09ad474aa5
diff --git a/runtime/dom/src/host/frames.rs b/runtime/dom/src/host/frames.rsindex 5cbd0c80..d256f9ca 100644--- a/runtime/dom/src/host/frames.rs+++ b/runtime/dom/src/host/frames.rs@@ -174,7 +174,7 @@ pub(crate) fn mount_frames(world: &mut World, roots: &mut Roots) {let alive: std::collections::HashSet<(Entity, NodeId, u64)> = roots.0.iter().filter(|r| r.frame.is_none()).flat_map(|r| r.frames_seen.iter().map(move |(n, u)| (r.page, *n, url_key(u)))).collect();let stale: Vec<Entity> = roots.0.iter().filter(|r| r.frame.is_some_and(|f| !alive.contains(&(f.parent, f.node, f.url)))).map(|r| r.page).collect();if !stale.is_empty() {- roots.0.retain(|r| !stale.contains(&r.page));+ roots.0.retain(|r| stale.iter().all(|gone| *gone != r.page));let mut docs = world.non_send_mut::<Docs>();for page in &stale {docs.0.remove(page);