protected virtual void Dispose(bool disposing) { if (Interlocked.CompareExchange(ref _disposed, 1, 0) != 0) { return; } if (!disposing) { return; } _channel.Dispose(); _redisPipelinePool.Release(_channel); }
public void Dispose() { _channel.Dispose(); }