Repository navigation
Fix #71752 - Do not activate until ext host is started - #72480
Merged
Merged
Conversation
Sandeep Somavarapu (sandy081)
requested review from
Alexandru Dima (alexdima) and
Johannes Rieken (jrieken)
April 17, 2019 09:00
Johannes Rieken (jrieken)
approved these changes
Apr 17, 2019
Contributor
There was a problem hiding this comment.
Fixes my invalid activation issue and seems to not break anything else. Code looks reasonable but alexandrudima is definitely the export here. Ok for me ship
Member
Author
|
Thanks Johannes Rieken (@jrieken). Did some testing to make sure it is not breaking anything else. Pushing the fix. Once alexandrudima is back, will revisit to see if there is a better fix. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently extensions are getting activated even before extension host is started. This is causing to activate disabled extensions. Here is the fix:
Have a separate barrier
_readyToStartExtensionHostfor starting extension host after workspace is complete.Open the existing barrier
_readyToRunExtensionsafter starting the extension host.This will make sure extension host is started after workspace is complete and extension activation and registry is available only after extension host is started.