mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
resharper suggestions in server implementations
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user