예제 #1
0
 public void Release()
 {
     if (!IsReleased && !IsExpired)
     {
         _DistributedLockManager?.ReleaseDistributedLockAsync(this).Wait();
         IsReleased = true;
     }
 }