Hacker News new | ask | show | jobs
by mtrunkat 2939 days ago
We have found 2 related issues:

- Sometimes Promise returned by page.close() never resolves so it's good to call Promise.race() on that together with a Promise that resolves after some timeout period (30s?)

- Sometimes Chrome process doesn't get killed so we are also manually killing remaining Chrome process after browser.close()

1 comments

Good tips. How are you killing remaining zombie Chrome processes? Just polling the processlist and running "kill" commands?