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

govet: Use pointers for Context and FontAtlas #608

Merged
merged 1 commit into from
Nov 29, 2022
Merged

govet: Use pointers for Context and FontAtlas #608

merged 1 commit into from
Nov 29, 2022

Conversation

asmaloney
Copy link
Contributor

govet was complaining about copying these because they contain mutex locks which should never be copied.

"copylocks: call of GetState[teststate] copies lock value"

Fixes #588

govet was complaining about copying these because they contain mutex locks which should never be copied.

"copylocks: call of GetState[teststate] copies lock value"

Fixes #588
@asmaloney asmaloney mentioned this pull request Nov 29, 2022
@AllenDang AllenDang merged commit 5d21cd3 into AllenDang:master Nov 29, 2022
@asmaloney asmaloney deleted the fix-govet-copylocks branch November 29, 2022 04:51
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.

govet alert: copylocks
2 participants