Function mozjs_sys::jsapi::JS::AbortIncrementalGC

source ยท
pub unsafe extern "C" fn AbortIncrementalGC(cx: *mut JSContext)
Expand description

If IsIncrementalGCInProgress(cx), this call aborts the ongoing collection and performs whatever work needs to be done to return the collector to its idle state. This may take an arbitrarily long time. When this function returns, IsIncrementalGCInProgress(cx) will always be false.