Skip to content

Conversation

deanq
Copy link
Member

@deanq deanq commented Oct 24, 2024

The bug was caused by an asyncio event loop locking up. Adding finally: await asyncio.sleep(0) fixed it.

This fixes issues like #368 and other similar reported issues.

Copy link
Contributor

@Yhlong00 Yhlong00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@deanq deanq merged commit 4ab05f3 into main Oct 24, 2024
8 checks passed
@deanq deanq deleted the fix-sigterm-crashes branch October 24, 2024 14:46
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.

2 participants