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

register loop.close with atexit #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

register loop.close with atexit #6

wants to merge 1 commit into from

Conversation

minrk
Copy link
Owner

@minrk minrk commented May 5, 2023

make it more likely that loop.close will actually be called

cc @jacobtomlinson

closes #3 (from a certain perspective). close will be called when using asyncio, but not in the same place, because nest_asyncio removes calls to loop.close.

make it more likely that loop.close will actually be called
@minrk minrk mentioned this pull request May 5, 2023
@jacobtomlinson
Copy link

I tried out this fix but I'm still not seeing the finalizer being called.

@minrk
Copy link
Owner Author

minrk commented May 5, 2023

Thanks for testing, I'll see if I can figure out what's missing.

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.

Breaks with nest-asyncio
2 participants