diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-21 18:31:23 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-21 18:31:23 -0700 |
commit | d5e550b1763ef2e3f4e6fbfc609784a3c75adecf (patch) | |
tree | f11d522aeb6281988b36c66771497882d917279e /src/preamble.js | |
parent | 1cb12b85df682ca418bc03e29d70cf54b5054f1d (diff) |
show awaited run dependencies only in ASSERTIONS builds
Diffstat (limited to 'src/preamble.js')
-rw-r--r-- | src/preamble.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js index fb9d93c9..659b3869 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -813,6 +813,7 @@ function addRunDependency(id) { if (id) { assert(!runDependencyTracking[id]); runDependencyTracking[id] = 1; +#if ASSERTIONS if (runDependencyWatcher === null && typeof setInterval !== 'undefined') { // Check for missing dependencies every few seconds runDependencyWatcher = setInterval(function() { @@ -827,8 +828,9 @@ function addRunDependency(id) { if (shown) { Module.printErr('(end of list)'); } - }, 6000); + }, 10000); } +#endif } else { Module.printErr('warning: run dependency added without ID'); } |