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

Conversation

@grokys
Copy link
Contributor

@grokys grokys commented Apr 13, 2018

UsageTracker was querying IPackageSettings in its initialization and this was causing an occasional race condition between AsyncPackage.AddService and AsyncPackage.GetService. Instead pass the IPackageSettings to the UsageTracker constructor.

We really need a better solution for this in general, but this fix should work for now.

`UsageTracker` was querying `IPackageSettings` in its initialization and this was causing an occasional race condition between `AsyncPackage.AddService` and `GetService`.  Instead pass the `IPackageSettings` to the `UsageTracker` constructor.
@grokys grokys requested review from jcansdale and shana April 13, 2018 15:21
shana
shana previously approved these changes Apr 13, 2018
Copy link
Collaborator

@jcansdale jcansdale left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@jcansdale jcansdale merged commit a345b94 into master Apr 13, 2018
@jcansdale jcansdale deleted the fixes/usagetracker-init-hang branch April 13, 2018 16:08
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.

4 participants