You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This setting has not been enabled by default since emscripten-core#22257.
It is not used anywhere internally in emscripten test suite anymore.
Its is problematic because it installs process-wide global exit handler
(so it doesn't work well with other modules or other code).
It should not be needed in general since most code paths that enter the
module are wrapped in try/catch that handled ExitStatus.
Its trivial to replace with a `--pre-js` or some other external JS
snippet.
Emscripten throws an ExitStatus exception to unwind when exit() is called.
1177
-
Without this setting enabled this can show up as a top level unhandled
1178
-
exception.
1179
-
1180
-
With this setting enabled a global uncaughtException handler is used to
1181
-
catch and handle ExitStatus exceptions. However, this means all other
1182
-
uncaught exceptions are also caught and re-thrown, which is not always
1183
-
desirable.
1184
-
1185
-
Default value: false
1186
-
1187
1171
.. _nodejs_catch_rejection:
1188
1172
1189
1173
NODEJS_CATCH_REJECTION
@@ -3563,3 +3547,4 @@ for backwards compatibility with older versions:
3563
3547
- ``ASYNCIFY_LAZY_LOAD_CODE``: No longer supported (Valid values: [0])
3564
3548
- ``USE_WEBGPU``: No longer supported; replaced by --use-port=emdawnwebgpu, which implements a newer (but incompatible) version of webgpu.h - see tools/ports/emdawnwebgpu.py (Valid values: [0])
3565
3549
- ``PROXY_TO_WORKER``: No longer supported (Valid values: [0])
3550
+
- ``NODEJS_CATCH_EXIT``: No longer supported (Valid values: [0])
['USE_WEBGPU', [0], 'No longer supported; replaced by --use-port=emdawnwebgpu, which implements a newer (but incompatible) version of webgpu.h - see tools/ports/emdawnwebgpu.py'],
0 commit comments