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

@@ -32,12 +32,6 @@ namespace MediaBrowser.Server.Implementations.ServerManager
/// <value>The json serializer.</value>
private readonly IJsonSerializer _jsonSerializer;
/// <summary>
/// This subscribes to HttpListener requests and finds the appropriate BaseHandler to process it
/// </summary>
/// <value>The HTTP listener.</value>
private IDisposable HttpListener { get; set; }
/// <summary>
/// The web socket connections
/// </summary>
@@ -313,11 +307,6 @@ namespace MediaBrowser.Server.Implementations.ServerManager
HttpServer.Dispose();
}
if (HttpListener != null)
{
HttpListener.Dispose();
}
DisposeExternalWebSocketServer();
}