Minor fix to refcounter logic

This commit is contained in:
calzoneman 2016-01-04 20:35:02 -08:00
parent 865a7453d9
commit 1ac69709ee

View file

@ -588,7 +588,7 @@ Channel.prototype.readLog = function (cb) {
const self = this;
fs.stat(file, function (err, data) {
if (err) {
self.refCounter.unref("readLog");
self.refCounter.unref("Channel::readLog");
return cb(err, null);
}