diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-13 14:57:05 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-13 14:57:05 -0700 |
commit | ee51b2bd829447fb83c5ebdbc3f8d157355c0fdc (patch) | |
tree | 36ce0b4b09b6d6b32d84edbbb12eeff0c84b8688 /src/preamble.js | |
parent | 8f3bb14fddb65ef6f47c0ca2b602079eba3bbb44 (diff) |
clear dependenciesFulfilled after use
Diffstat (limited to 'src/preamble.js')
-rw-r--r-- | src/preamble.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js index 9501f8dc..579e3065 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -992,7 +992,10 @@ function removeRunDependency(id) { clearInterval(runDependencyWatcher); runDependencyWatcher = null; } - dependenciesFulfilled(); + if (dependenciesFulfilled) { + dependenciesFulfilled(); + dependenciesFulfilled = null; + } } } Module['removeRunDependency'] = removeRunDependency; |