summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin <justincyork@gmail.com>2015-06-02 00:42:19 +0000
committerJustin <justincyork@gmail.com>2015-06-02 00:42:19 +0000
commit02b715cc237c4080d0f0c607e294d0ad76bc3a11 (patch)
treee42ede9213d0d1128ea34e9b261b5a379bada2bd
parentb25793cd0f3e2f08e4a2eba2eac79a693316d7be (diff)
downloadasync-02b715cc237c4080d0f0c607e294d0ad76bc3a11.tar.gz
fix tests in node 0.12
-rw-r--r--lib/async.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/async.js b/lib/async.js
index 75c99f4..aca7156 100644
--- a/lib/async.js
+++ b/lib/async.js
@@ -886,7 +886,7 @@
}
workers += 1;
var cb = only_once(_next(q, tasks));
- async.setImmediate(worker(data, cb));
+ worker(data, cb);
}
}
},