Browse Source

Fix warnings in UdpServer

Patrick Barron 3 năm trước cách đây
mục cha
commit
7ae055f740
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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>