Retire inactive windows without invoking stopped runtimes
Verify Tessera GUI / verify (push) Failing after 7m31s

This commit is contained in:
2026-10-21 21:02:52 +08:00
parent e3e46068eb
commit dff49770fa
10 changed files with 440 additions and 48 deletions
+4
View File
@@ -43,6 +43,10 @@ impl NamespaceState {
pub fn publish_window_commands(&mut self, session: u64, commands: Vec<crate::window::Command>) {
if self.runtime_session != session {
self.window_commands.clear();
// The primary shell survives VM replacement. Secondary native
// resources belong to their originating runtime generation.
self.window_viewports
.retain(|id, _| *id == crate::window::MAIN_WINDOW);
}
self.runtime_session = session;
if session == 0 {