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

Remove internal use of Arc from StatsdClient #163

Merged
merged 1 commit into from
Sep 17, 2021
Merged

Conversation

56quarters
Copy link
Owner

Remove Arcs used only so the client could implement the Clone trait. Instead
they are replaced with Boxes which don't require reference counting. The
implication of this is that users of StatsdClient must wrap it in an Arc if
they wish to share references of it between threads.

Fixes #162

Remove Arcs used only so the client could implement the Clone trait. Instead
they are replaced with Boxes which don't require reference counting. The
implication of this is that users of StatsdClient must wrap it in an Arc if
they wish to share references of it between threads.

Fixes #162
@56quarters 56quarters merged commit 8648296 into master Sep 17, 2021
@56quarters 56quarters deleted the boxes-not-arcs branch September 17, 2021 20:48
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.

Remove client uses of Arc
1 participant