Browse Source

Fix warnings in UdpServer

Patrick Barron 3 years ago
parent
commit
7ae055f740
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Emby.Server.Implementations/Udp/UdpServer.cs

+ 2 - 2
Emby.Server.Implementations/Udp/UdpServer.cs

@@ -29,10 +29,10 @@ namespace Emby.Server.Implementations.Udp
         private readonly IServerApplicationHost _appHost;
         private readonly IConfiguration _config;
 
-        private Socket _udpSocket;
-        private IPEndPoint _endpoint;
         private readonly byte[] _receiveBuffer = new byte[8192];
 
+        private Socket _udpSocket;
+        private IPEndPoint _endpoint;
         private bool _disposed = false;
 
         /// <summary>