[Pkg-javascript-commits] [node-async] 81/480: Fixed bug with calling callback several times when some functions were executed 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 fc67262866362803cc1f98fb72bee37bf607a883
Author: Sergey Kirillov <serg at rainboo.com>
Date: Fri Apr 29 15:31:22 2011 +0300
Fixed bug with calling callback several times when some functions were executed in parallel.
---
lib/async.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/async.js b/lib/async.js
index bd44a06..d5fe445 100644
--- a/lib/async.js
+++ b/lib/async.js
@@ -347,6 +347,7 @@
addListener(function () {
if (completed.length === keys.length) {
callback(null);
+ callback = function () {};
}
});
--
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