JS_FreeRuntime

Function JS_FreeRuntime 

Source
pub unsafe fn JS_FreeRuntime(rt: *mut JSRuntime)
Expand description

ยงSafety

The caller must ensure that rt is either null or a valid pointer to a JSRuntime previously created by JS_NewRuntime, and that no contexts or objects from this runtime are still in use.