Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

JS_DestroyRuntime

Frees a JavaScript runtime.

Syntax

void
JS_DestroyRuntime(JSRuntime *rt);
Name Type Description
rt JSRuntime * The runtime to destroy.

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

Document Tags and Contributors

 Contributors to this page: arai, fscholz, Jorend, Mgjbot, Dria, MMondor
 Last updated by: arai,