Skip to content

Fix bad example of lock #14179

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

Merged
merged 1 commit into from
Sep 7, 2020
Merged

Fix bad example of lock #14179

merged 1 commit into from
Sep 7, 2020

Conversation

jderusse
Copy link
Member

@jderusse jderusse commented Sep 4, 2020

I just realized that example in lock were BAD. If you don't check the return of $lock->acquire() you don't know if the lock has been acquired

PR against 4.4 because currently maintained, but bug exists since 3.4

@javiereguiluz
Copy link
Member

Jérémy you are right that we want to minimize the merges in 3.4 because we're just weeks away from its end of support. But precisely PRs like yours, which fix a clear bug, are the only ones which we still want to merge in 3.4. So, this was merged in 3.4. Thanks!

@javiereguiluz javiereguiluz changed the base branch from 4.4 to 3.4 September 7, 2020 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants