try-puppeteer
try-puppeteer copied to clipboard
Potential Memory Leak??
Hi, Thank you for nice puppeteer project.
I finished my puppeteer project by reference backend/server.js
file.
In my case, I got a little memory leak. Because I did not call browser.disconnect()
before reusing the browser object.
I read the backend/server.js
file again. I did not find codes be related with disconnect
browser. So I guess maybe try-puppeteer got the same memory leak problem ?
Yea good call. There should probably be a disconnect somewhere just to be safe. Want to submit a PR?
Sure. My pleasure.