diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-02-23 21:46:15 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-23 21:46:15 +0900 |
| commit | de40f22a463b7e83461f06b9cd256a9cc7b04a3e (patch) | |
| tree | f95f508ac06864841c6404d98632e8506f3f7cf7 /Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs | |
| parent | 72c98e41ca2c0042edf645298371245c1abee354 (diff) | |
| parent | 184ad29f3f5a579b38ce01d88bf22ad9dc229617 (diff) | |
Merge pull request #2384 from Bond-009/warn16
Fix some warnings in Emby.Server.Implementations
Diffstat (limited to 'Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs')
| -rw-r--r-- | Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs b/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs index 529f83560..50ba0f8fa 100644 --- a/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs +++ b/Emby.Server.Implementations/EntryPoints/UdpServerEntryPoint.cs @@ -3,8 +3,6 @@ using System.Threading.Tasks; using Emby.Server.Implementations.Udp; using MediaBrowser.Controller; using MediaBrowser.Controller.Plugins; -using MediaBrowser.Model.Net; -using MediaBrowser.Model.Serialization; using Microsoft.Extensions.Logging; namespace Emby.Server.Implementations.EntryPoints @@ -23,9 +21,7 @@ namespace Emby.Server.Implementations.EntryPoints /// The logger. /// </summary> private readonly ILogger _logger; - private readonly ISocketFactory _socketFactory; private readonly IServerApplicationHost _appHost; - private readonly IJsonSerializer _json; /// <summary> /// The UDP server. @@ -64,7 +60,7 @@ namespace Emby.Server.Implementations.EntryPoints _cancellationTokenSource.Cancel(); _udpServer.Dispose(); - + _cancellationTokenSource.Dispose(); _cancellationTokenSource = null; _udpServer = null; |
