Exemplo n.º 1
0
 /// <inheritdoc />
 public void Dispose()
 {
     foreach (var handle in _handles)
     {
         _locks.Release(handle);
     }
 }
Exemplo n.º 2
0
 /// <inheritdoc />
 public void Dispose()
 {
     // Release method should be robust in terms of calling it multiple times
     _locks.Release(this);
 }