We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bc8c16 commit 804eebaCopy full SHA for 804eeba
src/DotNext.Threading/Threading/AsyncExclusiveLock.cs
@@ -87,7 +87,7 @@ public bool TryAcquire()
87
88
private bool IsLockHelpByCurrentThread
89
{
90
- get => lockOwner is not { } owner || ReferenceEquals(owner, Thread.CurrentThread);
+ get => lockOwner is { } owner && ReferenceEquals(owner, Thread.CurrentThread);
91
set
92
93
if (value)
0 commit comments