don't release until you think about this XXX a bit more
parent
ac3a58cc38
commit
6aa6b706a4
|
@ -253,7 +253,7 @@ var listChannels = function (root, handler, cb) {
|
|||
|
||||
// otherwise throw it on the pile
|
||||
sema.take(function (give) {
|
||||
var next = w(give());
|
||||
var next = w(give()); // XXX validate that it's ok to 'waitFor' here instead of outside the 'take'
|
||||
Fs.stat(filepath, w(function (err, stats) {
|
||||
if (err) {
|
||||
return void handler(err);
|
||||
|
|
Loading…
Reference in New Issue