Skip to content

Be more specific about flock releasing locks automatically #13757

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
Jun 8, 2020

Conversation

mariusbuescher
Copy link
Contributor

While working on some Unit-Tests for my application I found out about a problem regarding the Flock store. Unfortunately it is a problem coming from the way PHP works internally. Resource handles/file locks are released as soon as the variable holding the handle is going out of scope. This makes it easy for developers when directly working with files, but in this case, it was stopping me.

To make this restriction more clear, I just changed that line in the documentation.

@javiereguiluz
Copy link
Member

Thanks Marius.

@javiereguiluz javiereguiluz merged commit 093479b into symfony:3.4 Jun 8, 2020
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.

4 participants