Function js::jsapi::FinishIncrementalGC [] [src]

pub unsafe extern "C" fn FinishIncrementalGC(rt: *mut JSRuntime, reason: Reason)

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