/// <summary> /// Release the lock. /// </summary> public void Dispose() { _asyncReaderWriterLock.ReleaseWriterLock(); }