Skip to content

Ensure the client is closed when closing the connection. #47

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

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

ioquatix
Copy link
Member

@ioquatix ioquatix commented Feb 3, 2023

When returning a single connection object, decorate it so that calling close also closes the underlying client.

Fixes #46.

Types of Changes

  • Bug fix.

Contribution

@ioquatix ioquatix merged commit b1860a4 into main Feb 3, 2023
@ioquatix ioquatix deleted the client-close-decorator branch February 3, 2023 02: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.

transient Async::Pool::Controller stays when the connection is closed
1 participant