brenden / node-webshot

Easy website screenshots in Node.js
2.12k stars 285 forks source link

Missing call to tmp.removeCallback() #130

Open asafyish opened 8 years ago

asafyish commented 8 years ago

Hi,

We are creating thousands of images using webshot with an html string, we then noticed the machine temp folder is filled with thousands of temp files, this was not expected since we assumed nothing is written to disk.

It looks like there is a missing call tmp.removeCallback() in webshot.js line 102.

noopnik commented 8 years ago

Same issue, *.tmp files didn't removed