JS_FreeContext

Function JS_FreeContext 

Source
pub unsafe fn JS_FreeContext(ctx: *mut JSContext)
Expand description

ยงSafety

The caller must ensure that ctx is either null or a valid pointer to a JSContext previously created by JS_NewContext, and that no objects from this context are still in use.