Skip to content

Pool.close: close all connections before returning #3952

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 3 commits into from
Aug 16, 2025

Conversation

jpmelos
Copy link
Contributor

@jpmelos jpmelos commented Jul 29, 2025

Fixes #3217.
Supersedes #3299.

I'm taking into consideration the discussion that already happened in #3299, and then I just rebase it on the latest main and add one commit on top of that to address the problem with child pools. The solution turned out to be pretty simple.

@abonander abonander merged commit 5f8fc6b into launchbadge:main Aug 16, 2025
92 checks passed
@jpmelos jpmelos deleted the pool-close-race-condition branch August 16, 2025 02:26
@pronebird
Copy link

@abonander this is a very critical patch. I can't wait to upgrade. Any idea when this is going to be released? Thanks

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.

Pool::close does not always wait for all connections to close
4 participants