diff --git a/lib/fs.js b/lib/fs.js index b6b62265403e..658531a5bdd2 100644 --- a/lib/fs.js +++ b/lib/fs.js @@ -1654,7 +1654,7 @@ function ReadStream(path, options) { if (typeof this.fd !== 'number') this.open(); - this.on('end', function() { + this.once('end', function() { if (this.autoClose) { this.destroy(); }