aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/IO/FileRefresher.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-05-27 07:42:49 -0400
committerGitHub <noreply@github.com>2017-05-27 07:42:49 -0400
commit772fb88aabb822aa0d0a4988b12bae8686fe0465 (patch)
treef49a12ab0ca543d9a1a3ea8494737330fd50ea2b /Emby.Server.Implementations/IO/FileRefresher.cs
parent84077e824df3bda4f74e12b961d4e962b0e04a42 (diff)
parenta76bbcfebe82452178836301ce1d1833968c50bd (diff)
Merge pull request #2667 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/IO/FileRefresher.cs')
-rw-r--r--Emby.Server.Implementations/IO/FileRefresher.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/Emby.Server.Implementations/IO/FileRefresher.cs b/Emby.Server.Implementations/IO/FileRefresher.cs
index 7b9083f00..9606b60b8 100644
--- a/Emby.Server.Implementations/IO/FileRefresher.cs
+++ b/Emby.Server.Implementations/IO/FileRefresher.cs
@@ -180,7 +180,7 @@ namespace Emby.Server.Implementations.IO
try
{
- await item.ChangedExternally().ConfigureAwait(false);
+ item.ChangedExternally();
}
catch (IOException ex)
{
@@ -282,11 +282,11 @@ namespace Emby.Server.Implementations.IO
return false;
}
}
- //catch (DirectoryNotFoundException)
- //{
- // // File may have been deleted
- // return false;
- //}
+ catch (DirectoryNotFoundException)
+ {
+ // File may have been deleted
+ return false;
+ }
catch (FileNotFoundException)
{
// File may have been deleted