projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8960a23
)
Deleting registered callbacks after execution
author
Alexander Ebert
<ebert@woltlab.com>
Thu, 21 Nov 2013 15:05:15 +0000
(16:05 +0100)
committer
Alexander Ebert
<ebert@woltlab.com>
Thu, 21 Nov 2013 15:05:15 +0000
(16:05 +0100)
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index d769d55f030c862ed2a6c738aa532dea1ff0d185..dd10eba4c7863719b56298031dd5b1bac4ab8cdf 100755
(executable)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-5960,6
+5960,8
@@
WCF.System.Dependency.Manager = {
for (var $i = 0, $length = this._setupCallbacks[identifier].length; $i < $length; $i++) {
this._setupCallbacks[identifier][$i]();
}
+
+ delete this._setupCallbacks[identifier];
}
this._loaded.push(identifier);
@@
-5968,6
+5970,8
@@
WCF.System.Dependency.Manager = {
for (var $i = 0, $length = this._callbacks[identifier].length; $i < $length; $i++) {
this._callbacks[identifier][$i]();
}
+
+ delete this._callbacks[identifier];
}
}
};