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

Push disposals to context.subscriptions #1112

Merged

Conversation

TamiTakamiya
Copy link
Collaborator

In VS Code extension development, all disposable objects created by the extension should be pushed to context.subscriptions so that they can be properly cleaned up when your extension is unloaded (reference). Most of disposables created in the activate() method of Ansible VS Code extension are already pushed to it, but there are few exceptions. This PR is for pushing those disposables, which have not been pushed to it.

@TamiTakamiya TamiTakamiya merged commit 45d6486 into main Mar 4, 2024
9 checks passed
@TamiTakamiya TamiTakamiya deleted the TamiTakamiya/push-disposals-to-context-subscriptions branch March 4, 2024 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants