Function chakracore_sys::JsDisposeRuntime [] [src]

pub unsafe extern "system" fn JsDisposeRuntime(
    runtime: JsRuntimeHandle
) -> JsErrorCode

Disposes a runtime. Once a runtime has been disposed, all resources owned by it are invalid and cannot be used. If the runtime is active (i.e. it is set to be current on a particular thread), it cannot be disposed. The runtime to dispose. The code JsNoError if the operation succeeded, a failure code otherwise.