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

Fix Downloads Folder Path #72

Merged
merged 1 commit into from
Dec 25, 2022
Merged

Conversation

LePips
Copy link
Contributor

@LePips LePips commented Dec 22, 2022

I was implementing file downloads into my app and noticed that the temporary directory was not being cleared, even though DataLoader should do so. Download file paths were not created properly and instead were formatted as such:

/private/.../tmp/com.github.kean.get/Downloads.foo-bar.tmp

This fixes downloads so that they properly download into the tmp/com.github.kean.get/Downloads/ folder and can be cleared.

However, pre-existing downloads still act as memory zombies in tmp/com.github.kean.get/ and will require manual deletion.

@kean
Copy link
Owner

kean commented Dec 25, 2022

Thanks, @LePips.

@kean kean merged commit 037d3dc into kean:main Dec 25, 2022
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