Function gc::force_collect

source ·
pub fn force_collect()
Expand description

Immediately triggers a garbage collection on the current thread.

This will panic if executed while a collection is currently in progress