Retire inactive windows without invoking stopped runtimes
Verify Tessera GUI / verify (push) Failing after 7m31s
Verify Tessera GUI / verify (push) Failing after 7m31s
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user