aboutsummaryrefslogtreecommitdiff
path: root/src/postamble.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/postamble.js')
-rw-r--r--src/postamble.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/postamble.js b/src/postamble.js
index 10ac1888..2944e681 100644
--- a/src/postamble.js
+++ b/src/postamble.js
@@ -45,6 +45,7 @@ function run(args) {
function doRun() {
var ret = 0;
+ calledRun = true;
if (Module['_main']) {
preMain();
ret = Module.callMain(args);