handle files already being deleted
This commit is contained in:
parent
b4851d4789
commit
99f4dd95e9
|
@ -433,6 +433,14 @@ namespace Emby.Server.Implementations.Library
|
||||||
_fileSystem.DeleteFile(fileSystemInfo.FullName);
|
_fileSystem.DeleteFile(fileSystemInfo.FullName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (FileNotFoundException)
|
||||||
|
{
|
||||||
|
// may have already been deleted manually by user
|
||||||
|
}
|
||||||
|
catch (DirectoryNotFoundException)
|
||||||
|
{
|
||||||
|
// may have already been deleted manually by user
|
||||||
|
}
|
||||||
catch (IOException)
|
catch (IOException)
|
||||||
{
|
{
|
||||||
if (isRequiredForDelete)
|
if (isRequiredForDelete)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user