diff --git a/index.js b/index.js index f73883f..2f86104 100644 --- a/index.js +++ b/index.js @@ -60,6 +60,7 @@ module.exports = function(filename, opts) { cb(null, buffer); } else { closeNext = true; + _cb = function () {} cb(null, buffer.slice(0, count)); } }