Skip to content

Commit 79082c7

Browse files
authored
Update README.md
1 parent afb5f02 commit 79082c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ using CancellationTokenSource cts = new CancellationTokenSource(TimeSpan.FromSec
3232
using var d2 = await asyncLock.WriterLockAsync("123", cts.Token);
3333

3434
//use writer lock scope to break long running reader lock
35-
using (var r1 = await lockEntity.ReaderLockAsync())
35+
using (ReaderReleaser r1 = await asyncLock.ReaderLockAsync())
3636
{
3737
//use reader lock
3838

0 commit comments

Comments
 (0)