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

asyncio._SelectorSocketTransport: help garbage collector #100348

Closed
rkojedzinszky opened this issue Dec 19, 2022 · 0 comments · Fixed by #100349
Closed

asyncio._SelectorSocketTransport: help garbage collector #100348

rkojedzinszky opened this issue Dec 19, 2022 · 0 comments · Fixed by #100349
Labels
type-feature A feature request or enhancement

Comments

@rkojedzinszky
Copy link
Contributor

rkojedzinszky commented Dec 19, 2022

Feature or enhancement

Debugging an asyncio application I've found that many _SelectorSocketTransport objects end up listed in gc.garbage instead of being released as soon as possible.

Pitch

We could release resources as soon as possible, and avoid this task to be done by gc.

Linked PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant