don't release until you think about this XXX a bit more

pull/1/head
ansuz 6 years ago
parent ac3a58cc38
commit 6aa6b706a4

@ -253,7 +253,7 @@ var listChannels = function (root, handler, cb) {
// otherwise throw it on the pile // otherwise throw it on the pile
sema.take(function (give) { 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) { Fs.stat(filepath, w(function (err, stats) {
if (err) { if (err) {
return void handler(err); return void handler(err);

Loading…
Cancel
Save