PINCache icon indicating copy to clipboard operation
PINCache copied to clipboard

Deleting temp directory breaks trashing functionality

Open aurelienp opened this issue 9 years ago • 0 comments

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.

aurelienp avatar Sep 19 '16 20:09 aurelienp