Skip to content

Remove return from finally block#246

Merged
mosquito merged 1 commit intomasterfrom
hotfix/remove-return-from-finally-block
Mar 23, 2026
Merged

Remove return from finally block#246
mosquito merged 1 commit intomasterfrom
hotfix/remove-return-from-finally-block

Conversation

@mosquito
Copy link
Collaborator

This pull request makes a small change to the reconnection logic in the start method of aiomisc/service/tcp.py. The condition for sleeping before a reconnect attempt has been corrected to only sleep if the connection is set, which fixes the reconnection flow.

@mosquito mosquito merged commit ebfdb45 into master Mar 23, 2026
19 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.

1 participant