Skip to main content

JS_FreeContext

Function JS_FreeContext 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_FreeContext(ctx: *mut JsContext)
Expand description

JS_FreeContext: drop one context, leaving its runtime alive.

ยงSafety

ctx must come from JS_NewContext and not have been freed.