Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

breaking change ConnectToPort #88

Merged
merged 2 commits into from
Oct 27, 2022
Merged

breaking change ConnectToPort #88

merged 2 commits into from
Oct 27, 2022

Conversation

Code-Hex
Copy link
Owner

Which issue(s) this PR fixes:

Similar fixes #79

Additional documentation

The handler passed here is not executed within the goroutine, so calls such as Goexit will result in an unintended ThreadLock. To prevent this, instead of receiving the connection in a callback, we return an internal duplicate of the file descriptor, preventing unintended callbacks from being executed

@Code-Hex Code-Hex merged commit 07536c7 into master Oct 27, 2022
@Code-Hex Code-Hex deleted the fix/connect-interface branch October 27, 2022 05:06
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.

None yet

1 participant