diff options
Diffstat (limited to 'src/postamble.js')
-rw-r--r-- | src/postamble.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/postamble.js b/src/postamble.js index 0e295171..27242363 100644 --- a/src/postamble.js +++ b/src/postamble.js @@ -32,12 +32,12 @@ Module.callMain = function callMain(args) { function run(args) { args = args || Module['arguments']; - __globalConstructor__(); + initRuntime(); var ret = null; if (Module['_main']) { ret = Module.callMain(args); - __shutdownRuntime__(); + exitRuntime(); } return ret; } |