Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix ghost terminals after using "Developer: Restart Extension Host" #5017

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

Merged
andyleejordan merged 1 commit into main from andyleejordan/fix-restartExtensionHost
Jul 16, 2024

Conversation

Copy link
Member

@andyleejordan andyleejordan commented Jul 16, 2024

When this features restarts us, we're unable to clean up our terminals because we're gone before we can finish disposing. Therefore we must search for stale terminals and dispose them.

Fixes #4986.

@Tyriar can you confirm there isn't a better way to handle this? For reference: #4986 (comment)

o-l-a-v reacted with thumbs up emoji
When this features restarts us, we're unable to clean up our terminals
because we're gone before we can finish disposing. Therefore we must
search for stale terminals and dispose them.
@andyleejordan andyleejordan requested a review from a team July 16, 2024 00:34
Copy link
Contributor

Tyriar commented Jul 16, 2024

I think you'll have to do something like this to handle it gracefully atm

andyleejordan reacted with thumbs up emoji

Copy link
Member Author

Thanks!

Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

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

LGTM!

@andyleejordan andyleejordan added this pull request to the merge queue Jul 16, 2024
Merged via the queue into main with commit d69ee8a Jul 16, 2024
@andyleejordan andyleejordan deleted the andyleejordan/fix-restartExtensionHost branch July 16, 2024 18:28
Copy link
Collaborator

LGTM, too bad there isn't something more graceful ATN

@andyleejordan andyleejordan added the Issue-Bug A bug to squash. label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@SeeminglyScience SeeminglyScience SeeminglyScience approved these changes

Assignees
No one assigned
Labels
Issue-Bug A bug to squash.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

VSCode "restart extensions" on any extension update makes vscode-powershell start a new terminal

AltStyle によって変換されたページ (->オリジナル) /