Skip to main content

live_objects

Function live_objects 

Source
pub fn live_objects() -> isize
Expand description

The number of heap objects this thread created and has not freed, for finding leaks in tests. Persistent objects, which are never freed, count. Always zero in a release build.