Function mozjs::jsapi::JS::FinishIncrementalGC

source ยท
pub unsafe extern "C" fn FinishIncrementalGC(
    cx: *mut JSContext,
    reason: GCReason,
)
Expand description

If IsIncrementalGCInProgress(cx), this call finishes the ongoing collection by performing an arbitrarily long slice. If !IsIncrementalGCInProgress(cx), this is equivalent to NonIncrementalGC. When this function returns, IsIncrementalGCInProgress(cx) will always be false.