Keep native control renders responsive (#3306)

* Keep native control renders responsive

* Refresh replies for immediately completed render jobs

* #3289: Bind waiting replies to their native render
This commit is contained in:
FredApps authored and GitHub committed 2026-11-08 16:43:06 +01:00
1 parent 07be19d402
commit 86c08aa0ee
20 files changed
+950 -29

No files matched your search

+3 -1
View File
@@ -208,7 +208,9 @@ pub(crate) fn run_tasks_at(session: &mut Session, now: Instant) -> J {
if !running {
#[cfg(not(target_arch = "wasm32"))]
crate::ui::tick_threaded(session, now, &mut report);
crate::ui::tick_inline(session, now, &mut report);
if session.script_ui.render_host.is_none() {
crate::ui::tick_inline(session, now, &mut report);
}
crate::ui::prune_task_hosts(session);
}
let errors: Vec<J> = report.errors.iter().map(|e| json!({"message": e.message, "line": e.line, "column": e.column, "file": e.file})).collect();