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

fixed unclosed filehandle #91

Merged
merged 1 commit into from
Oct 31, 2024
Merged

fixed unclosed filehandle #91

merged 1 commit into from
Oct 31, 2024

Conversation

brainfoolong
Copy link
Contributor

fixed resetting ->close after overriding filehandle resource

This will result in errors especially when you use custom temp directories and want to remove them before the shutdown handler comes, the file that is still opened cannot be deleted.

Easy fix by resetting the close flag, so it closes automatically again when needed

this will result in errors especially when you use custom temp directories and want to remove them before the shutdown handler comes, the file that is still opened cannot be deleted
easy fix by resetting the close flag, so it closes automatically again when needed
@aVadim483 aVadim483 merged commit c8dbdce into aVadim483:master Oct 31, 2024
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