aboutsummaryrefslogtreecommitdiff
path: root/files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_destroyruntime/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_destroyruntime/index.html')
-rw-r--r--files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_destroyruntime/index.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_destroyruntime/index.html b/files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_destroyruntime/index.html
new file mode 100644
index 0000000000..d65b41c6d6
--- /dev/null
+++ b/files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_destroyruntime/index.html
@@ -0,0 +1,45 @@
+---
+title: JS DestroyRuntime
+slug: Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_DestroyRuntime
+tags:
+ - JSAPI Reference
+ - SpiderMonkey
+translation_of: Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_DestroyRuntime
+---
+<p>
+
+</p><div class="breadcrumbs"><a href="/ja" title="ja">メインページ</a> » <a href="/ja/docs/SpiderMonkey" title="SpiderMonkey">SpiderMonkey</a> »
+ <a href="/ja/docs/SpiderMonkey/JSAPI_Reference" title="JSAPI_Reference">JSAPI リファレンス</a> »
+ <code>JS_DestroyRuntime</code></div>
+
+<p></p>
+
+<p>JavaScriptランタイム環境を解放します。 <span class="comment">Frees a JavaScript runtime.</span></p>
+
+<h2 id=".E6.A7.8B.E6.96.87" name=".E6.A7.8B.E6.96.87">構文</h2>
+
+<pre class="eval">void <strong>JS_DestroyRuntime</strong>(<a href="/ja/JSRuntime" title="ja/JSRuntime">JSRuntime</a> *rt);
+</pre>
+
+<table class="fullwidth-table">
+ <tbody>
+ <tr>
+ <th>Name</th>
+ <th>Type</th>
+ <th>Description</th>
+ </tr>
+ <tr>
+ <td><code>rt</code></td>
+ <td><code><a href="/ja/JSRuntime" title="ja/JSRuntime">JSRuntime</a> *</code></td>
+ <td>解放するランタイム<span class="comment">The runtime to destroy.</span></td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id=".E8.AA.AC.E6.98.8E" name=".E8.AA.AC.E6.98.8E">説明</h2>
+
+<p><code>JS_DestroyRuntime</code>は、JavaScriptランタイム環境<code>rt</code>を解放する関数です。JSAPIの利用を終えた後は必ず<code>JS_DestroyRuntime</code>を呼び出してください。<code>JS_DestroyRuntime</code>を呼ぶことで、ガベージコレクションおよび<code><a href="/ja/JS_NewRuntime" title="ja/JS_NewRuntime">JS_NewRuntime</a></code>によって確保されたメモリ領域の解放が行われます。 <span class="comment">&lt;code&gt;JS_DestroyRuntime&lt;/code&gt; frees the specified the JavaScript runtime environment, &lt;code&gt;rt&lt;/code&gt;. Call &lt;code&gt;JS_DestroyRuntime&lt;/code&gt; after completing all other JS API calls. &lt;code&gt;JS_DestroyRuntime&lt;/code&gt; garbage collects and frees the memory previously allocated by &lt;code&gt;<a href="/ja/JS_NewRuntime">JS_NewRuntime</a>&lt;/code&gt;.</span></p>
+
+<p>{{ LXRSearch("ident", "i", "JS_DestroyRuntime") }}</p>
+
+<p>{{ languages( { "en": "en/JS_DestroyRuntime" } ) }}</p>