Skip to main content

publish_empty_retained_ledger

Function publish_empty_retained_ledger 

Source
pub fn publish_empty_retained_ledger()
Expand description

Publish the EMPTY ledger — what a surface destroy or a device-scale change leaves the renderer holding. A shell calls it (or publish_retained_ledger with the renderer’s own, equally empty, ledger) before a destroy returns or its barrier is acknowledged, so the UI thread’s first paint over a re-created surface names no page the torn-down one held.