Skip to main content

release_cached

Function release_cached 

Source
extern "C-unwind" fn release_cached(sexp: SEXP)
Expand description

The finalizer of a type with cached fields (#[r_data(cache)], #2271): drops the value’s cached field values, then frees the value as release_any does, so no later value at the same address finds them. Releasing pool slots allocates nothing, so this is sound in a finalizer.