Closed
Description
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