Skip to content

Fix race condition shutting down socket#152

Merged
eandersson merged 1 commit into
mainfrom
bug/close_socket
May 24, 2026
Merged

Fix race condition shutting down socket#152
eandersson merged 1 commit into
mainfrom
bug/close_socket

Conversation

@eandersson
Copy link
Copy Markdown
Owner

Connection close is now resilient to IO.socket being cleared partway through _close_socket; the socket reference is captured once and reused for the shutdown/close calls.

@eandersson eandersson merged commit 47d29bd into main May 24, 2026
10 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