Skip to content

Commit

Permalink
Do not force MEF component initialization
Browse files Browse the repository at this point in the history
This can hang VS if the cache is being rebuilt and we're requesting it synchronourly.

Fixes #34
  • Loading branch information
kzu committed Aug 23, 2022
1 parent d93949f commit a4e97d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Xunit.Vsix/VsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ bool Start()

// Retrieve the component model service, which could also now take time depending on new
// extensions being installed or updated before the first launch.
var components = services.GetService<Interop.SComponentModel, object>();
//var components = services.GetService<Interop.SComponentModel, object>();

//if (Debugger.IsAttached)
//{
Expand Down

0 comments on commit a4e97d8

Please sign in to comment.