Skip to content

fix: only kill the browser process when it cannot be started but not when waiting on the first target#7762

Merged
OrKoN merged 1 commit into
puppeteer:mainfrom
whimboo:launcher_kill_waitfortarget
Nov 11, 2021
Merged

fix: only kill the browser process when it cannot be started but not when waiting on the first target#7762
OrKoN merged 1 commit into
puppeteer:mainfrom
whimboo:launcher_kill_waitfortarget

Conversation

@whimboo

@whimboo whimboo commented Nov 10, 2021

Copy link
Copy Markdown
Collaborator

When the browser has been started and we have a valid reference lets make use of it instead of force-killing the process. A force kill should probably be the last resort in cleaning up the process.

This will help with Firefox as described on #7668 (comment).

@google-cla google-cla Bot added the cla: yes label Nov 10, 2021
@whimboo whimboo force-pushed the launcher_kill_waitfortarget branch from d32d58b to 9d4665d Compare November 10, 2021 20:48
@whimboo whimboo requested a review from OrKoN November 11, 2021 07:21
@OrKoN OrKoN merged commit 51e6169 into puppeteer:main Nov 11, 2021
@whimboo whimboo deleted the launcher_kill_waitfortarget branch November 11, 2021 14:29
This was referenced May 30, 2022
This was referenced May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants