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 thread-safety issue in AutoValueProvidersFactory #601

Merged
merged 1 commit into from
Dec 17, 2019

Conversation

zvirja
Copy link
Contributor

@zvirja zvirja commented Dec 15, 2019

Fixes #600

Use thread-safe option of Lazy.

Also registered a tech dept in #551 to improve this place in future major update. We cannot, unfortunately, do it now, as that requires breaking changes.

Copy link
Member

@dtchepak dtchepak left a comment

Choose a reason for hiding this comment

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

Thanks @zvirja !

@dtchepak dtchepak merged commit b0d1dac into nsubstitute:master Dec 17, 2019
@zvirja zvirja deleted the fix-providers-concurrency-issue branch December 17, 2019 23:07
@zvirja
Copy link
Contributor Author

zvirja commented Dec 17, 2019

@dtchepak Does it worth making a patch release? It’s unlikely we could want to fix something else ;)

@brianfeucht
Copy link

Any update on getting a patch release for this?

@dtchepak
Copy link
Member

@brianfeucht Sorry for the delay, I was hoping to batch up some other changes but haven't been able to get those done. I've just released 4.2.2 that includes this change, please let me know how it goes.

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.

Intermittent ArgumentNullException thrown in AutoTaskProvider
3 participants