From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../jsapi_reference/js_shutdown/index.html | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_shutdown/index.html (limited to 'files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_shutdown/index.html') diff --git a/files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_shutdown/index.html b/files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_shutdown/index.html new file mode 100644 index 0000000000..5d4e2faacd --- /dev/null +++ b/files/ja/mozilla/projects/spidermonkey/jsapi_reference/js_shutdown/index.html @@ -0,0 +1,34 @@ +--- +title: JS ShutDown +slug: Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_ShutDown +tags: + - JSAPI Reference + - SpiderMonkey +translation_of: Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_ShutDown +--- +

+ +

+ +

+ +

ランタイム間で共有している資源を解放します。

+ +

Free all resources shared among runtimes.

+ +

構文

+ +
void JS_ShutDown(void);
+
+ +

説明

+ +

ランタイム間で共有している資源を解放する関数です。この関数を呼ぶのはJSRuntimeオブジェクトが存在しないとき(具体的には、JS_DestroyRuntimeを読んだ後のプログラムの最後など)だけにしてください。 Frees all resources shared among runtimes. Call this only when no <code>JSRuntime</code>s exist (for example, at the end of the program, after calling <code>JS_DestroyRuntime</code>).

+ +

利用時の注意点: この関数はjsdtoa.cが確保するメモリ領域と、JS_THREADSAFEオプションを有効にしたビルドにおけるjslock.cが確保するmutex領域を解放します。 Implementation note: This cleans up memory allocated by <code>jsdtoa.c</code> and, in <code>JS_THREADSAFE</code> builds, mutexes allocated by <code>jslock.c</code>.

+ +

{{ LXRSearch("ident", "i", "JS_ShutDown") }}

+ +

{{ languages( { "en": "en/JS_ShutDown" } ) }}

-- cgit v1.2.3-54-g00ecf