Skip to content

testing: correctly release display+file#203

Merged
tych0 merged 1 commit intomasterfrom
display-fixups
Feb 8, 2026
Merged

testing: correctly release display+file#203
tych0 merged 1 commit intomasterfrom
display-fixups

Conversation

@tych0
Copy link
Copy Markdown
Owner

@tych0 tych0 commented Feb 5, 2026

In order to correctly release the display file, we need to close the file even if the remove fails, so move that to the finally: block.

Also, when setting up, if things fail, we need to do this same process. Move everything to a function to call from both places.

In order to correctly release the display file, we need to close the file
even if the remove fails, so move that to the finally: block.

Also, when setting up, if things fail, we need to do this same process.
Move everything to a function to call from both places.

Signed-off-by: Tycho Andersen <tycho@tycho.pizza>
@tych0 tych0 merged commit 12aeb18 into master Feb 8, 2026
21 checks passed
@tych0 tych0 deleted the display-fixups branch February 8, 2026 20:08
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