Skip to main content

lean_dec_ref_cold

Function lean_dec_ref_cold 

Source
pub unsafe fn lean_dec_ref_cold(o: Obj)
Expand description

Removes one reference from o, whose count is 1 or the count of an object shared between threads. When it was the last reference, frees o and every object only reachable from it, with an explicit work list instead of recursion (lean_del).