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

User creation job removing bug #500

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

worryg0d
Copy link
Collaborator

@worryg0d worryg0d commented Jul 26, 2023

Fixed a bug, when the user creation job removes itself and then doesn't unlock Mutex.

It happens because a job tries to write in a done channel and then select receives a signal from the done channel. When it receives a signal from the done it finishes the current goroutine without unlocking the mutex.

closes #499

@worryg0d worryg0d added the bug Something isn't working label Jul 26, 2023
@worryg0d worryg0d self-assigned this Jul 26, 2023
@worryg0d worryg0d force-pushed the issue-499-user-creation-removing-job-bug-fix branch from 81e40e0 to dcbb24f Compare July 26, 2023 13:37
@taaraora taaraora merged commit cccf20c into main Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix removing the user creation job
5 participants