Persist CI Cargo caches and repair runtime regression coverage
Verify Tessera GUI / verify (push) Successful in 1m40s

This commit is contained in:
2026-10-23 22:35:00 +08:00
parent 7f77a4aa72
commit 864e57ce1f
9 changed files with 130 additions and 31 deletions
+8
View File
@@ -2330,6 +2330,14 @@ impl UiBridge {
.map_err(|_| anyhow::anyhow!("UI session poisoned"))?;
for presentation in state.presentations.values_mut() {
let window = object(Some(&vm.get_attr(presentation.desktop, "window")?))?;
// A failed first render must not become visible on the next input
// merely because show() already registered its Page with the Window.
if presentation.active.is_none() && presentation.last_tabs.is_empty() {
let unpublished = crate::window::pages(vm.object_store(), window)?.to_vec();
for page in unpublished {
crate::window::unregister_page_host(vm, window, page)?;
}
}
let pages = crate::window::pages(vm.object_store(), window)?;
let next = if presentation.closing {
None