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

API that is returning Disposable should be added to subscriptions extension's context #832

Merged
merged 1 commit into from
Mar 12, 2019

Conversation

benoitf
Copy link
Contributor

@benoitf benoitf commented Mar 12, 2019

so they're disposed during the stop lifecycle of the plug-in. (and avoid duplicate handlers/ commands for example when restarting it)

handle it for

  • registerCommand
  • workspace.registerTextDocumentContentProvider
  • and window.onDidChangeActiveTextEditor

…they're disposed during the stop lifecycle of the plug-in.

handle it for registerCommand and workspace.registerTextDocumentContentProvider and window.onDidChangeActiveTextEditor

Change-Id: I10e3f0b96337e69c91d0d98590722f1f4364e4aa
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
@fbricon fbricon added this to the Mid March 2019 milestone Mar 12, 2019
@fbricon fbricon added the debt label Mar 12, 2019
@fbricon fbricon merged commit b6b922c into redhat-developer:master Mar 12, 2019
@benoitf benoitf deleted the handle-subscriptions branch March 12, 2019 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants