Skip to content

Conversation

@dpkp
Copy link
Owner

@dpkp dpkp commented Mar 28, 2025

Intended to align connection state with log messages, so update state first + log state change second.
This moves state change to CONNECTING prior to sock initialization, which means that close() can now be called without a sock, and that means that the sock passed to state_change_callback can be None, though only when disconnected.

@dpkp dpkp merged commit a520232 into master Mar 28, 2025
18 checks passed
@dpkp dpkp deleted the dpkp/conn-state-logging branch March 28, 2025 15:38
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.

2 participants