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

fix: close connection thread properly if BaseException raised in connect step #317

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

gpajot
Copy link
Contributor

@gpajot gpajot commented Jan 27, 2025

Description

Since the Connection._connect method currently only catches Exception (and not BaseException), if one is raised, the connection thread won't be closed and the program will hang on exit.

Fixes: close connection thread properly if BaseException raised in connect step

@gpajot gpajot force-pushed the dev branch 3 times, most recently from a9688b8 to 3a7351c Compare January 27, 2025 12:39
@gpajot gpajot marked this pull request as ready for review January 27, 2025 12:40
@amyreese amyreese merged commit 883695f into omnilib:main Feb 3, 2025
18 checks passed
@amyreese
Copy link
Member

amyreese commented Feb 3, 2025

Thank you!

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