Skip to content

Conversation

@radarhere
Copy link
Member

@radarhere radarhere commented Mar 14, 2022

Helps #5944. Alternative to #5947

If an error occurs after creating a file, remove the file, rather than leaving a potentially corrupt image on disk.

@hugovk hugovk merged commit 9134f07 into python-pillow:main Mar 24, 2022
@radarhere radarhere deleted the created_cleanup branch March 24, 2022 07:21
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