-
-
Notifications
You must be signed in to change notification settings - Fork 669
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
chore: fix data races #1080
base: main
Are you sure you want to change the base?
chore: fix data races #1080
Conversation
There is at least one more race, |
@leventov I think, the normal use case is to call |
@nktks yes, only one goroutine. But isn't writing a plain field |
Here's from https://go.dev/ref/mem:
|
@leventov Thank you! I added test case to reproduce. Then I fixed it by using |
PR Checklist
memory: add interfaces for X, Y
orutil: add whizzbang helpers
).Fixes #123
).Describes the source of new concepts.<- I don't add new conceptContains test coverage for new functions.<- I don't add new functiongolangci-lint
checks.What
Hello.
Thank you for maintaining this great module!
I would like to:
-race
flag in go test CI to avoid data race.