-
-
Notifications
You must be signed in to change notification settings - Fork 180
[MemFS] Release memory when close() is called #313
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
Conversation
posixpath.join(parent_dir, str(file_id)), UNICODE_TEXT | ||
) | ||
|
||
@unittest.skipIf( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thorough test 👍
I know the contributors list is supposed to be sorted alphabetically but do I really need to put my name at the top? Feels weird. |
@dargueta It's cool. The idea was that the order doesn't indicate significance of contribution. PR looks good BTW, thanks. I'll give it another review soon. |
Thanks |
Thanks |
Type of changes
Checklist
Description
MemFS now immediately releases the memory used up by its files when
close()
is called, rather than when the file system gets garbage collected. Closes #308 .