resharper suggestions in server implementations

This commit is contained in:
Luke Pulverenti
2013-04-10 12:04:13 -04:00
parent ff1db0a173
commit 7097b9aa75
18 changed files with 27 additions and 57 deletions

View File

@@ -1,7 +1,6 @@
using MediaBrowser.Common.Extensions;
using MediaBrowser.Common.IO;
using MediaBrowser.Common.Net;
using MediaBrowser.Controller;
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.IO;
@@ -86,10 +85,7 @@ namespace MediaBrowser.Server.Implementations.Providers
void configurationManager_ConfigurationUpdated(object sender, EventArgs e)
{
// Validate currently executing providers, in the background
Task.Run(() =>
{
ValidateCurrentlyRunningProviders();
});
Task.Run(() => ValidateCurrentlyRunningProviders());
}
/// <summary>