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

Do not leak tempdirs #1334

Merged
merged 1 commit into from Nov 4, 2014
Merged

Do not leak tempdirs #1334

merged 1 commit into from Nov 4, 2014

Conversation

sethvargo
Copy link
Contributor

Be nice and clean up after yo'self!

Fixes #1333, although I can't speak for Ridley. I didn't have time to go digging there.

/cc @stevendanna

Be nice and clean up after yo'self
@sethvargo
Copy link
Contributor Author

@reset this involved switch to the block form of Dir.mktmpdir, which cleans up after itself. As a result, the diff is pretty annoying to read, but you can read it more easily if you turn off whitespace diffing with the w=1 URL trick.

@reset
Copy link
Contributor

reset commented Nov 4, 2014

@sethvargo looks good to me 👍

sethvargo added a commit that referenced this pull request Nov 4, 2014
@sethvargo sethvargo merged commit 3521a40 into master Nov 4, 2014
@sethvargo sethvargo deleted the sethvargo/tmpcleanup branch November 4, 2014 01:50
@berkshelf berkshelf locked and limited conversation to collaborators Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

berks upload and berks install does not clean up temp directories and files
2 participants