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: add missing defer when unlocking mutex #879

Merged
merged 1 commit into from
Aug 25, 2023
Merged

fix: add missing defer when unlocking mutex #879

merged 1 commit into from
Aug 25, 2023

Conversation

alexandear
Copy link
Contributor

This PR fixes missing defer when calling r.Unlock().

@chavacava chavacava merged commit 0357df7 into mgechev:master Aug 25, 2023
4 checks passed
@chavacava
Copy link
Collaborator

Thanks @alexandear

@alexandear alexandear deleted the rule-missing-defer branch August 25, 2023 13:50
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