The LockHandler documentation should be more clear about when the lock is released #4877
Labels
actionable
Clear and specific issues ready for anyone to take them.
bug
good first issue
Ideal for your first contribution! (some Symfony experience may be required)
Currently, the doc says that the lock is released at the end of the script. But this is wrong. It can after much earlier.
The lock is released as soon as the LockHandler is garbage-collected, which happens when it goes out of scope.
See symfony/symfony#12914 for an report which is caused by this misleading documentation
The text was updated successfully, but these errors were encountered: