Skip to content

Ensure server process is cleaned up on dispose#15645

Merged
karthiknadig merged 2 commits into
microsoft:mainfrom
karthiknadig:jedi-processes
Mar 15, 2021
Merged

Ensure server process is cleaned up on dispose#15645
karthiknadig merged 2 commits into
microsoft:mainfrom
karthiknadig:jedi-processes

Conversation

@karthiknadig

@karthiknadig karthiknadig commented Mar 11, 2021

Copy link
Copy Markdown
Member

closes #15644

This is a preventative fix. On language server proxy dispose, we don't know if the server process is actually shutting down after the stop request is sent. So, we send a kill process tree request in all cases so we don't leave behind jedi processes.

@karthiknadig karthiknadig added the skip tests Updates to tests unnecessary label Mar 12, 2021
@karthiknadig karthiknadig marked this pull request as ready for review March 12, 2021 21:08

@karrtikr karrtikr left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@paulacamargo25 paulacamargo25 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM :D

@karthiknadig karthiknadig merged commit 410e9c9 into microsoft:main Mar 15, 2021
@karthiknadig karthiknadig deleted the jedi-processes branch March 18, 2021 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip tests Updates to tests unnecessary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rogue Python Processes

3 participants