Entry: JS_DestroyRuntime (Macro)
Summary: Frees the JavaScript runtime.
Syntax:
JS_DestroyRuntime(rt);
Description:
JS_DestroyRuntime frees the specified the JavaScript runtime environment, rt. Call JS_DestroyRuntime after completing all other JS API calls. JS_DestroyRuntime garbage collects and frees the memory previously allocated by JS_NewRuntime.
See also:
|
|
|