internal void ClearCommandTimeout() { if (!hasBeenOpen) return; commandTimeout = 0; if (driver != null) { driver.ResetTimeout(0); } } #endregion
public void Dispose() { if (timeoutSet) { timeoutSet = false; connection.ClearCommandTimeout(); connection = null; } }