diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-10 18:22:14 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-10 18:22:14 -0800 |
commit | 99634e23408315efe0633cd1917794081f4ec4ba (patch) | |
tree | b3539c98addcfff2fcf5b7f2c1d75c71fe9e887f /src/postamble.js | |
parent | 6e77a01fabb47edf569c517b3566d8ba6dd43480 (diff) |
NO_EXIT_RUNTIME option, to set Module.noExitRuntime during compilation
Diffstat (limited to 'src/postamble.js')
-rw-r--r-- | src/postamble.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/postamble.js b/src/postamble.js index 90a86474..382d3117 100644 --- a/src/postamble.js +++ b/src/postamble.js @@ -202,6 +202,10 @@ if (Module['noInitialRun']) { shouldRunNow = false; } +#if NO_EXIT_RUNTIME +Module["noExitRuntime"] = true; +#endif + run(); // {{POST_RUN_ADDITIONS}} |