From 3387dac01d7125f830a77f5d0446fda336e294cd Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 30 May 2013 15:58:07 -0400 Subject: remote control progress --- MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'MediaBrowser.Server.Implementations/HttpServer') diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs index 023df3177..f4bf501e3 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/HttpServer.cs @@ -308,7 +308,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer RaiseReceiveWebRequest(context); - await Task.Run(() => + await Task.Factory.StartNew(() => { try { @@ -318,6 +318,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer { _logger.ErrorException("ProcessRequest failure", ex); } + }).ConfigureAwait(false); } -- cgit v1.2.3