launcher: run Window.close on process close too
This commit is contained in:
parent
36b578ce63
commit
99e4ee860d
@ -94,6 +94,8 @@ export default async (CDP, proc, injectionType = 'browser', { browserName } = {
|
||||
versions
|
||||
};
|
||||
|
||||
proc.on('close', Window.close);
|
||||
|
||||
Window.idle = await IdleApi(Window.cdp, { browserEngine, closeHandlers });
|
||||
Window.controls = await ControlsApi(Window.cdp);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user