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.
95
95
Set this to 1 if you do want to retain the ability to shut down the program.
96
96
If 1, then completing main() will by default call exit(), unless a refcount
97
97
keeps 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.
100
100
This setting is controlled automatically in STANDALONE_WASM mode:
101
101
102
102
- For a command (has a main function) this is always 1
103
103
- For a reactor (no main function) this is always 0
104
104
105
+ For more details, see documentation for emscripten_force_exit() and
106
+ emscripten_exit_with_live_runtime().
107
+
105
108
Default value: false
106
109
107
110
.. _stack_size :
Original file line number Diff line number Diff line change @@ -93,13 +93,15 @@ var INVOKE_RUN = true;
93
93
// Set this to 1 if you do want to retain the ability to shut down the program.
94
94
// If 1, then completing main() will by default call exit(), unless a refcount
95
95
// 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.
98
98
// This setting is controlled automatically in STANDALONE_WASM mode:
99
99
//
100
100
// - For a command (has a main function) this is always 1
101
101
// - For a reactor (no main function) this is always 0
102
102
//
103
+ // For more details, see documentation for emscripten_force_exit() and
104
+ // emscripten_exit_with_live_runtime().
103
105
// [link]
104
106
var EXIT_RUNTIME = false ;
105
107
You can’t perform that action at this time.
0 commit comments