pub fn sm_static(enable: bool)
Expand description

Orphaned buffer detection can be disabled (for such items as buffers allocated during initialisation) by calling sm_static(true). Normal orphaned buffer detection can be re-enabled with sm_static(false). Note that all the other safeguards still apply to buffers allocated when sm_static(true) mode is in effect.