windows 10
var img = sharp('xxx.jpg');
img.toBuffer().then((buffer) => {
buffer;
});
After the .toBuffer, the file is occupied.
Unable to delete in system.
Hello, did you see #415?
Sorry, I didn't see the issue(415).
It has been solved:
Sharp.cache(false);
Thank you.