[Pkg-javascript-commits] [node-async] 80/480: Fixed bug when listeners were not called in parallel.
Jonas Smedegaard
js at moszumanska.debian.org
Fri May 2 08:58:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository node-async.
commit 293fecf8d6827989a78565671a3f7764a662a685
Author: Sergey Kirillov <serg at rainboo.com>
Date: Fri Apr 29 15:30:47 2011 +0300
Fixed bug when listeners were not called in parallel.
---
lib/async.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/async.js b/lib/async.js
index 9be463e..bd44a06 100644
--- a/lib/async.js
+++ b/lib/async.js
@@ -339,7 +339,7 @@
}
};
var taskComplete = function () {
- _forEach(listeners, function (fn) {
+ _forEach(listeners.slice(0), function (fn) {
fn();
});
};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-async.git
More information about the Pkg-javascript-commits
mailing list