Exemple #1
0
 /// <summary>
 /// Counterpart to <see cref="MutexAquire"/>.
 /// </summary>
 public void MutexRelease()
 {
     if (_blockingMutexOld != null)
     {
         _blockingMutexOld.Close();
     }
     if (_blockingMutexNew != null)
     {
         _blockingMutexNew.Close();
     }
 }
Exemple #2
0
 /// <summary>
 /// Counterpart to <see cref="TargetMutexAquire"/>.
 /// </summary>
 private void TargetMutexRelease()
 {
     _targetMutex?.Close();
 }