Skip to content

[6.x] Check if an array lock exists before releasing it - #31795

Merged
taylorotwell merged 1 commit into
laravel:6.xfrom
paulandroshchuk:array-lock-fix
Mar 6, 2020
Merged

[6.x] Check if an array lock exists before releasing it#31795
taylorotwell merged 1 commit into
laravel:6.xfrom
paulandroshchuk:array-lock-fix

Conversation

@paulandroshchuk

Copy link
Copy Markdown
Contributor

It just fixes the thing where we would be thrown an Undefined index {index} exception when releasing a non-existing array lock.

Reference: #30253 (comment)

Thanks to @timacdonald for adding the ArrayLock and the test for this PR!

@taylorotwell
taylorotwell merged commit 2460f09 into laravel:6.x Mar 6, 2020
@paulandroshchuk
paulandroshchuk deleted the array-lock-fix branch March 6, 2020 13:29
@timacdonald

Copy link
Copy Markdown
Member

Thanks for fixing this for everyone Paul and, if I’m not mistaken, congrats on your first contribution to Laravel 🥳

@paulandroshchuk

Copy link
Copy Markdown
Contributor Author

Yeah, that's my first contribution. Thanks for helping me with it though! :)

@timacdonald

Copy link
Copy Markdown
Member

No worries, always happy to help

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.

3 participants