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

fix: Eliminate data race in modules integration #105

Merged
merged 1 commit into from
Dec 5, 2019

Conversation

rhcarvalho
Copy link
Contributor

Use local struct fields instead of globals.
Ensure modules cache is filled only once and safe for concurrent use
using sync.Once.

Fixes #104

Use local struct fields instead of globals.
Ensure modules cache is filled only once and safe for concurrent use
using sync.Once.

Fixes getsentry#104
@rhcarvalho
Copy link
Contributor Author

@kamilogorek could you please have a look when you have time? Thanks!

Copy link
Contributor

@kamilogorek kamilogorek left a comment

Choose a reason for hiding this comment

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

:shipit:

@rhcarvalho rhcarvalho merged commit 78e3836 into getsentry:master Dec 5, 2019
@rhcarvalho rhcarvalho deleted the integrations-race branch December 5, 2019 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Data race in modules integration
2 participants