update components

This commit is contained in:
Luke Pulverenti
2017-08-16 13:30:16 -04:00
parent 56263a9fa2
commit a57c887f7f
21 changed files with 79 additions and 195 deletions

View File

@@ -121,7 +121,7 @@ namespace Emby.Server.Implementations.IO
RestartTimer();
}
private async void OnTimerCallback(object state)
private void OnTimerCallback(object state)
{
List<string> paths;
@@ -137,7 +137,7 @@ namespace Emby.Server.Implementations.IO
try
{
await ProcessPathChanges(paths.ToList()).ConfigureAwait(false);
ProcessPathChanges(paths.ToList());
}
catch (Exception ex)
{
@@ -145,7 +145,7 @@ namespace Emby.Server.Implementations.IO
}
}
private async Task ProcessPathChanges(List<string> paths)
private void ProcessPathChanges(List<string> paths)
{
var itemsToRefresh = paths
.Distinct(StringComparer.OrdinalIgnoreCase)