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

[chore] move dialer inside new, use default resolver #715

Merged
merged 2 commits into from
Jul 18, 2022

Conversation

tsmethurst
Copy link
Contributor

@tsmethurst tsmethurst commented Jul 18, 2022

Fixes the very minor incorrect pointer copying bug we had by just moving instantiation of the dialer inside the New function.

@NyaaaWhatsUpDoc
Copy link
Member

I think my only critique is I'd prefer if we did instantiate the resolver, simply because it means we don't have to worry about weird errors ever caused by libraries modifying the global default resolver and us not being aware. Otherwise all looks good :)

@tsmethurst tsmethurst merged commit ab03318 into main Jul 18, 2022
@tsmethurst tsmethurst deleted the dialer_fiddling branch July 18, 2022 09:25
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

2 participants