public void Dispose() { if (timeoutSet) { timeoutSet = false; connection.ClearCommandTimeout(); connection = null; } } #endregion
internal void ClearCommandTimer() { if (commandTimer != null) { commandTimer.Dispose(); commandTimer = null; } }