fix: wait for the chromeProcess to exit, not close (#2838)
This commit is contained in:
parent
fb7c4e0984
commit
22fa00a7b3
@ -133,7 +133,7 @@ class Launcher {
|
||||
|
||||
let chromeClosed = false;
|
||||
const waitForChromeToClose = new Promise((fulfill, reject) => {
|
||||
chromeProcess.once('close', () => {
|
||||
chromeProcess.once('exit', () => {
|
||||
chromeClosed = true;
|
||||
// Cleanup as processes exit.
|
||||
if (temporaryUserDataDir) {
|
||||
|
Loading…
Reference in New Issue
Block a user