Skip to content

Conversation

@nikitalita
Copy link
Contributor

Socket deadlocks when failing to bind to a port, due to reset() (which calls the Shared destructor, which calls its lock) being called while we hold the lock (it would have segfaulted anyway even if this wasn't the case, since the destructor would have been called while we were in the middle of a member call stack). Calling reset() while outside of the lock fixes this.

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