Let V8 garbage collect the Buffer earlier #138

This commit is contained in:
Lovell Fuller 2014-12-13 08:48:24 +00:00
parent 34a9970bd9
commit 47241db789

View File

@ -506,6 +506,8 @@ Sharp.prototype._sharp = function(callback) {
}); });
} }
} }
// A copy is taken of the Buffer so let V8 garbage collect ours
this.options.bufferIn = null;
}; };
/* /*