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

Deleting temp directory breaks trashing functionality #113

Open
aurelienp opened this issue Sep 19, 2016 · 0 comments
Open

Deleting temp directory breaks trashing functionality #113

aurelienp opened this issue Sep 19, 2016 · 0 comments
Assignees
Labels

Comments

@aurelienp
Copy link

aurelienp commented Sep 19, 2016

Using dispatch_once in sharedTrashURL implementation ensures that the work is done once, great.
Unfortunately, it also makes the assumption that developers will not clear the temp directory's content. But if they do, it breaks any future deletion from the cache. Considering how big the consequence is, I think the approach can be refined.

@garrettmoon garrettmoon self-assigned this Sep 21, 2016
@garrettmoon garrettmoon changed the title Improve lazy creation of shared trash URL Deleting temp directory breaks trashing functionality Oct 6, 2017
@garrettmoon garrettmoon added the bug label Oct 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants