Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix killing a browser process on panic if one of them is missing #832

Merged
merged 1 commit into from Mar 17, 2023

Conversation

inancgumus
Copy link
Member

@inancgumus inancgumus commented Mar 17, 2023

The current code returns when it can't find a process with PID, instead of trying to kill the rest. This PR fixes that sneaky bug.

Related: #779

@inancgumus inancgumus added the bug Something isn't working label Mar 17, 2023
@inancgumus inancgumus added this to the v0.9.0 milestone Mar 17, 2023
@inancgumus inancgumus self-assigned this Mar 17, 2023
@inancgumus inancgumus changed the title Fix panic process close in FindProcess Fix killing a browser process on panic if one of them is missing Mar 17, 2023
The current code returns when it can't find a process with PID, instead
of trying to kill the rest. This PR fixes that sneaky bug.
Copy link
Collaborator

@ka3de ka3de left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch.
LGTM.

Copy link
Collaborator

@ankur22 ankur22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@inancgumus inancgumus merged commit 1791cc7 into main Mar 17, 2023
@inancgumus inancgumus deleted the fix/panicfindprocreturn branch March 17, 2023 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants