aboutsummaryrefslogtreecommitdiff
path: root/src/preamble.js
diff options
context:
space:
mode:
authormax99x <max99x@gmail.com>2011-07-08 12:53:20 +0300
committermax99x <max99x@gmail.com>2011-07-08 12:53:20 +0300
commit8ffd5c52cab224dd582d5a1c2973696f41742280 (patch)
treecee9d27085e88c6b540fbe0706fd15f1b02e5d64 /src/preamble.js
parentb84bb001de07d4c056e4d6546ab3ccd27291bb3e (diff)
parent1a599856b45599914ed4ee371eb24665024051e9 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/preamble.js')
-rw-r--r--src/preamble.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js
index 408ef6aa..5903a5be 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -482,7 +482,7 @@ function __shutdownRuntime__() {
if (typeof func === 'number') {
func = FUNCTION_TABLE[func];
}
- func(atexit.arg);
+ func(atexit.arg || null);
}
// allow browser to GC, set heaps to null?