mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
resharper suggestions in server implementations
This commit is contained in:
parent
ff1db0a173
commit
7097b9aa75
18 changed files with 27 additions and 57 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue