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

After a new deployment of a VSIX, first test run randomly hangs VS #34

Closed
kzu opened this issue Aug 23, 2022 · 0 comments · Fixed by #35
Closed

After a new deployment of a VSIX, first test run randomly hangs VS #34

kzu opened this issue Aug 23, 2022 · 0 comments · Fixed by #35
Labels

Comments

@kzu
Copy link
Collaborator

kzu commented Aug 23, 2022

From an actual hang dump, the culprit is the GetService<SComponentModel>, which doesn't seem like xunit.vsix should be forcing.

@kzu kzu added the bug label Aug 23, 2022
kzu added a commit that referenced this issue Aug 23, 2022
This can hang VS if the cache is being rebuilt and we're requesting it synchronourly.

Fixes #34
kzu added a commit that referenced this issue Aug 23, 2022
This can hang VS if the cache is being rebuilt and we're requesting it synchronourly.

Fixes #34
kzu added a commit that referenced this issue Aug 23, 2022
This can hang VS if the cache is being rebuilt and we're requesting it synchronourly.

Fixes #34
kzu added a commit that referenced this issue Aug 23, 2022
Otherwise, the previous approach can hang VS if the cache is being rebuilt
and we're requesting it synchronously from within the process start.

Note that unless MEF components are requested, we don't even initialize
the component model service at all either.

Fixes #34
@kzu kzu closed this as completed in #35 Aug 23, 2022
kzu added a commit that referenced this issue Aug 23, 2022
Otherwise, the previous approach can hang VS if the cache is being rebuilt
and we're requesting it synchronously from within the process start.

Note that unless MEF components are requested, we don't even initialize
the component model service at all either.

Fixes #34
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 a pull request may close this issue.

1 participant