File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -63,11 +63,11 @@ method can be safely called repeatedly, even if the lock is already acquired.
63
63
returned by the ``Factory::createLock `` method.
64
64
65
65
.. tip ::
66
- While it's recommended to release the `` Lock `` as soon as it is no longer
67
- required, the `` Lock `` will automatically be `` released `` on instance
68
- destruction. In some case , it can be usefull to lock a resource across several
69
- requests. To disable the automatic release behavior, set the third argument
70
- of the ``createLock() `` method to ``false ``.
66
+
67
+ If you don't release the lock explicitly, it will be released automatically
68
+ on instance destruction. In some cases , it can be useful to lock a resource
69
+ across several requests. To disable the automatic release behavior, set the
70
+ third argument of the ``createLock() `` method to ``false ``.
71
71
72
72
Blocking Locks
73
73
--------------
You can’t perform that action at this time.
0 commit comments