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