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

pull/1/head
ansuz 2019-06-13 16:36:22 +02:00
parent ac3a58cc38
commit 6aa6b706a4
1 changed files with 1 additions and 1 deletions

View File

@ -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);