File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
site/source/docs/tools_reference Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -95,13 +95,16 @@ exception, but will not shut down the runtime.
9595Set this to 1 if you do want to retain the ability to shut down the program.
9696If 1, then completing main() will by default call exit(), unless a refcount
9797keeps the runtime alive. Call emscripten_exit_with_live_runtime() to finish
98- main() while keeping the runtime alive. Calling exit () will shut down the
99- runtime, invoking atexit()s, and flushing stdio streams.
98+ main() while keeping the runtime alive. Calling emscripten_force_exit () will
99+ shut down the runtime, invoking atexit()s, and flushing stdio streams.
100100This setting is controlled automatically in STANDALONE_WASM mode:
101101
102102- For a command (has a main function) this is always 1
103103- For a reactor (no main function) this is always 0
104104
105+ For more details, see documentation for emscripten_force_exit() and
106+ emscripten_exit_with_live_runtime().
107+
105108Default value: false
106109
107110.. _stack_size :
Original file line number Diff line number Diff line change @@ -93,13 +93,15 @@ var INVOKE_RUN = true;
9393// Set this to 1 if you do want to retain the ability to shut down the program.
9494// If 1, then completing main() will by default call exit(), unless a refcount
9595// keeps the runtime alive. Call emscripten_exit_with_live_runtime() to finish
96- // main() while keeping the runtime alive. Calling exit () will shut down the
97- // runtime, invoking atexit()s, and flushing stdio streams.
96+ // main() while keeping the runtime alive. Calling emscripten_force_exit () will
97+ // shut down the runtime, invoking atexit()s, and flushing stdio streams.
9898// This setting is controlled automatically in STANDALONE_WASM mode:
9999//
100100// - For a command (has a main function) this is always 1
101101// - For a reactor (no main function) this is always 0
102102//
103+ // For more details, see documentation for emscripten_force_exit() and
104+ // emscripten_exit_with_live_runtime().
103105// [link]
104106var EXIT_RUNTIME = false ;
105107
You can’t perform that action at this time.
0 commit comments