Skip to content

fix: bare except leaks coroutines by swallowing CancelledError#74

Open
konkong wants to merge 4 commits into
fuergaosi233:mainfrom
konkong:main
Open

fix: bare except leaks coroutines by swallowing CancelledError#74
konkong wants to merge 4 commits into
fuergaosi233:mainfrom
konkong:main

Conversation

@konkong
Copy link
Copy Markdown

@konkong konkong commented Apr 29, 2026

Bare except catches CancelledError, silently blocking coroutine cancellation and causing coroutine leaks. Use except Exception instead.

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.

1 participant