pyppeteer icon indicating copy to clipboard operation
pyppeteer copied to clipboard

browser.close() Not closing the chromium properly

Open mysteriousHerb opened this issue 5 years ago • 3 comments

image

As the image shown, although I do browser.close(), the chromium process just start to accumulate. Anyway to fix the issue?

mysteriousHerb avatar Nov 30 '19 19:11 mysteriousHerb

I'm having the same problem here. Running pyppeteer 0.0.25 in a Docker container. I have zombies process stacking up despite explicitely closing the browser at the end of the script.

quentinfayet avatar Dec 02 '19 10:12 quentinfayet

Try having autoClose=False for the pyppeteer.launcher.launch() and then explicitly close the browser later. It seems to solve the issue, but there are so many memory leaking etc problem that i need to solve..

mysteriousHerb avatar Dec 06 '19 19:12 mysteriousHerb

Is there any proper way currently to close the browser as intended by the library?

test24853 avatar Jan 13 '20 23:01 test24853