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

Use weak_ptr when creating a callback for resolver in ntcr/ntcp::StreamSocket #170

Merged
merged 3 commits into from
Jun 21, 2024

Conversation

smtrfnv
Copy link
Contributor

@smtrfnv smtrfnv commented Jun 14, 2024

This PR aims to resolve issue #63

Please see the issue for the analysis.

Now resolver threads try to convert weak_ptr to shared_ptr before calling a callback with endpoint resolution results.

@mattrm456 mattrm456 merged commit a9571fa into bloomberg:main Jun 21, 2024
1 check 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.

2 participants