Skip to content

Guard yields with try/finally, adjust ruff warnings#629

Merged
matusmarhefka merged 1 commit into
mainfrom
fix_ruff
May 26, 2026
Merged

Guard yields with try/finally, adjust ruff warnings#629
matusmarhefka merged 1 commit into
mainfrom
fix_ruff

Conversation

@comps

@comps comps commented May 26, 2026

Copy link
Copy Markdown
Contributor

The try/finally is needed because if an exception happens in the parent (during yield), the code is never returned back to do the cleaning.

@matusmarhefka matusmarhefka merged commit 192e3a0 into main May 26, 2026
4 checks passed
@matusmarhefka matusmarhefka deleted the fix_ruff branch May 26, 2026 10:22
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