-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
Recently I received a crash report on an iOS device caused by a .DeleteAsync() operation on a folder.
I think this is the result of a new file being added to the folder just moments after the delete procedure was started.
Something like this seems plausible to me:
- call to IFolder.DeleteAsync()
- this will recursively delete all files in folder
- new file is added to folder
- .DeleteAsync() tries to delete the folder, but it is not empty because of the new file -> exception is thrown
This is (part of) the crash report I received:
System.IO.Directory.Delete(string path)
System.IO.Directory.RecursiveDelete(string path)
System.IO.Directory.Delete(string path, bool recursive)
PCLStorage.FileSystemFolder.d__26.MoveNext()
Metadata
Metadata
Assignees
Labels
No labels