Skip to content

Conversation

micheal-parks
Copy link
Member

Overview

I discovered this bug after testing changes from the latest dial changes. When doing exponential backoff, we don't respect the closed state, causing reconnect attempts to occur even if a disconnect call has happened.

This PR adds a check before each retry attempt and stops it if closed is true.

@micheal-parks micheal-parks changed the title Do not attempt retries when closed [APP-9296] Do not attempt retries when closed Aug 28, 2025
@micheal-parks micheal-parks requested a review from stuqdog August 29, 2025 16:23
@micheal-parks micheal-parks merged commit 81d1ffa into viamrobotics:main Sep 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants