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

make PreparedTemplate instances clean up when not used #12

Merged
merged 1 commit into from
Oct 22, 2018

Conversation

erdos
Copy link
Owner

@erdos erdos commented Oct 22, 2018

Originally a PreparedTemplate instance needs a temporary folder in the file system to hold its contents unzipped. Now the instances can clean up these directories when discarded either by calling cleanup() or finalize().

@erdos erdos merged commit cd7cddc into master Oct 22, 2018
@erdos erdos deleted the feature/cleanup branch October 22, 2018 16:22
erdos added a commit that referenced this pull request Oct 22, 2018
Originally a PreparedTemplate instance needs a temporary folder in the file system to hold its contents unzipped. Now the instances can clean up these directories when discarded either by calling cleanup() or finalize(). Also, these directories are marked with deleteOnExit.
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.

None yet

1 participant