public void Dispose() { if (timeoutSet) { timeoutSet = false; connection.ClearCommandTimeout(); connection = null; } }
public void Dispose() { if (!_timeoutSet) { return; } _timeoutSet = false; _connection.ClearCommandTimeout(); _connection = null; }