Skip to content

make providers map safe for concurrency#521

Merged
techknowlogick merged 1 commit into
markbates:masterfrom
verygoodsoftwarenotvirus:master
Jan 14, 2025
Merged

make providers map safe for concurrency#521
techknowlogick merged 1 commit into
markbates:masterfrom
verygoodsoftwarenotvirus:master

Conversation

@verygoodsoftwarenotvirus
Copy link
Copy Markdown
Contributor

I have a goth.UseProviders that is tested in a bunch of tests, and I get data race warnings because the providers map is unprotected. I've added a mutex hat to guard it. :)

@techknowlogick techknowlogick merged commit b1c5727 into markbates:master Jan 14, 2025
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.

2 participants