Skip to content

Fix #71752 - Do not activate until ext host is started - #72480

Merged
Sandeep Somavarapu (sandy081) merged 1 commit into
masterfrom
sandy081/fix71752
Apr 17, 2019
Merged

Sandeep Somavarapu (sandy081) merged 1 commit into
masterfrom
sandy081/fix71752

Conversation

@sandy081

Copy link
Copy Markdown
Member

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 _readyToStartExtensionHost for starting extension host after workspace is complete.

  • Open the existing barrier _readyToRunExtensions after 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.

@jrieken Johannes Rieken (jrieken) left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

@sandy081

Copy link
Copy Markdown
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.

@sandy081
Sandeep Somavarapu (sandy081) deleted the sandy081/fix71752 branch May 8, 2019 13:39
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants