Skip to content

The LockHandler documentation should be more clear about when the lock is released #4877

Closed
@stof

Description

@stof

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionableClear and specific issues ready for anyone to take them.buggood first issueIdeal for your first contribution! (some Symfony experience may be required)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions