Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Conversation

@jcansdale
Copy link
Collaborator

@jcansdale jcansdale commented Mar 6, 2018

We now use the following attribute on GitHubPackage:

    [ProvideAutoLoad(Guids.UIContext_Git, PackageAutoLoadFlags.BackgroundLoad)]

It appears the PackageAutoLoadFlags.BackgroundLoad flag is only honored on Visual Studio 2017. This caused the menu initialization to only execute on a background thread when using Visual Studio 2017. This would cause a deadlock. 😭

Fixes #1520

Calling on background thread can cause deadlock.
@jcansdale jcansdale merged commit 4638bfb into master Mar 6, 2018
@jcansdale jcansdale deleted the fixes/1520-VS2017-deadlock branch March 6, 2018 15:18
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.

3 participants