aboutsummaryrefslogtreecommitdiff
path: root/src/preamble.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-05-22 14:33:04 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-05-22 14:33:04 -0700
commit77d94eb04fad6749788df00e992d97647ec0f61f (patch)
tree991f0b67c5f2c70f2ec8bc8ace5f5f36f89c8c38 /src/preamble.js
parent0d4f492e4dc3d02484028e6428c55fab978c7a8b (diff)
do not call code-running callbacks if ABORTing; fixes #1191
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 659b3869..35dfeba9 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -231,7 +231,7 @@ var setjmpId = 1; // Used in setjmp/longjmp
var setjmpLabels = {};
#endif
-var ABORT = false;
+var ABORT = false; // whether we are quitting the application. no code should run after this. set in exit() and abort()
var undef = 0;
// tempInt is used for 32-bit signed values or smaller. tempBigInt is used