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 PowerShellProcess.dipose() to fire the onExited event idempotently #4900

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

andyleejordan
Copy link
Member

@andyleejordan andyleejordan commented Jan 24, 2024

It was only firing when the terminal was closed, not whenever the process exited (which didn't make sense given its name and how we were using it). Good find @JustinGrote.

Also had to be idempotent.

@andyleejordan andyleejordan requested a review from a team January 24, 2024 21:46
It was only firing when the terminal was closed, not whenever the process exited
(which didn't make sense given its name and how we were using it).

Also had to be idempotent.
@andyleejordan andyleejordan changed the title Fix PowerShellProcess.dipose() to fire the onExited event Fix PowerShellProcess.dipose() to fire the onExited event idempotently Jan 24, 2024
@andyleejordan andyleejordan added this pull request to the merge queue Jan 25, 2024
Merged via the queue into main with commit 6d897c8 Jan 25, 2024
7 checks passed
@andyleejordan andyleejordan deleted the andyleejordan/fix-onExit branch January 25, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants