소스 검색

Fix warnings in UdpServer

Patrick Barron 3 년 전
부모
커밋
7ae055f740
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 IServerApplicationHost _appHost;
         private readonly IConfiguration _config;
         private readonly IConfiguration _config;
 
 
-        private Socket _udpSocket;
-        private IPEndPoint _endpoint;
         private readonly byte[] _receiveBuffer = new byte[8192];
         private readonly byte[] _receiveBuffer = new byte[8192];
 
 
+        private Socket _udpSocket;
+        private IPEndPoint _endpoint;
         private bool _disposed = false;
         private bool _disposed = false;
 
 
         /// <summary>
         /// <summary>