Skip to content

Commit a78d4cb

Browse files
authored
Update README.md
1 parent 85b52ff commit a78d4cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ var urlLocks = new SingletonCache<Url, object>();
7070

7171
Url url = new Url("https://foo.com");
7272

73-
using (var handle = urlLocks.Acquire(url))
73+
using (var lifetime = urlLocks.Acquire(url))
7474
{
75-
lock (handle.Value)
75+
lock (lifetime.Value)
7676
{
7777
// exclusive url access
7878
}

0 commit comments

Comments
 (0)