Skip to content

Commit beb9a6e

Browse files
Reword
1 parent 69bdba4 commit beb9a6e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

components/lock.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ method can be safely called repeatedly, even if the lock is already acquired.
6363
returned by the ``Factory::createLock`` method.
6464

6565
.. 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``.
7171

7272
Blocking Locks
7373
--------------

0 commit comments

Comments
 (0)