Skip to main content

collect_garbage

Function collect_garbage 

Source
pub fn collect_garbage()
Expand description

Frees every object that is neither referenced from Rust nor reachable from QML. Runs automatically after every garbage collection if using crate::QApp and under allocation pressure; call it explicitly for deterministic reclamation points.