Skip to content

Improve Cleanup of VS Code Sessions#2588

Open
nagilson wants to merge 3 commits intodotnet:mainfrom
nagilson:nagilson-sessions-cleanup
Open

Improve Cleanup of VS Code Sessions#2588
nagilson wants to merge 3 commits intodotnet:mainfrom
nagilson:nagilson-sessions-cleanup

Conversation

@nagilson
Copy link
Copy Markdown
Member

A VS Code Session represents a process of VS Code that holds onto dotnet installs that are in use. This allows us to not uninstall dotnet components that are important to other vscode instances / processes.

Before, we weren't aware of the 'deactivate' hook that is https://code.visualstudio.com/api/get-started/extension-anatomy called automatically as part of the extension pattern.

Now, we should leverage that pattern to clean up our own session and other potentially existing sessions.

A VS Code Session represents a process of VS Code that holds onto dotnet installs that are in use. This allows us to not uninstall dotnet components that are important to other vscode instances / processes.

Before, we weren't aware of the 'deactivate' hook that is https://code.visualstudio.com/api/get-started/extension-anatomy called automatically as part of the extension pattern.

Now, we should leverage that pattern to clean up our own session and other potentially existing sessions.
@nagilson nagilson marked this pull request as ready for review February 25, 2026 20:26
@nagilson nagilson requested a review from a team February 25, 2026 20:38
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