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

JS DestroyRuntime

このテンプレートは廃止されています。使用しないで下さい。

JavaScriptランタイム環境を解放します。 Frees a JavaScript runtime.

構文

void JS_DestroyRuntime(JSRuntime *rt);
Name Type Description
rt JSRuntime * 解放するランタイムThe runtime to destroy.

説明

JS_DestroyRuntimeは、JavaScriptランタイム環境rtを解放する関数です。JSAPIの利用を終えた後は必ずJS_DestroyRuntimeを呼び出してください。JS_DestroyRuntimeを呼ぶことで、ガベージコレクションおよびJS_NewRuntimeによって確保されたメモリ領域の解放が行われます。 <code>JS_DestroyRuntime</code> frees the specified the JavaScript runtime environment, <code>rt</code>. Call <code>JS_DestroyRuntime</code> after completing all other JS API calls. <code>JS_DestroyRuntime</code> garbage collects and frees the memory previously allocated by <code>JS_NewRuntime</code>.

MXR ID で JS_DestroyRuntime

ドキュメントのタグと貢献者

 このページの貢献者: fscholz, Norihiro
 最終更新者: fscholz,