Browse Source

fix Conflicts:

arthur.wu 3 years ago
parent
commit
004fe4ef7e
1 changed files with 3 additions and 5 deletions
  1. 3 5
      src/Program.cs

+ 3 - 5
src/Program.cs

@@ -1,4 +1,4 @@
-using WingRpcSDK.Common;
+using WingRpcSDK.Common;
 using System;
 using System.Text;
 using System.Diagnostics;
@@ -15,13 +15,11 @@ namespace WingCloudServer
     class Program
     {
         private static IServiceContainer _rpcServiceContainer;
-        private static HttpListener _httpListener;
-        private static bool _stopHttpListener = false;
         static void Main(string[] args)
         {
             var logEngine = new ServerLoggerEngine();
             Logger.RegisterEngine(logEngine);
-            
+            
             while (!StartServer())
             {
                 Console.WriteLine("The server is abnormal,wait 5 second will to reboot server!");
@@ -38,7 +36,7 @@ namespace WingCloudServer
                 //启动短信服务
                 ProcessStarter.StartTool("Sms.Tool"); //Should be actived by deploy service in the future
                 Logger.WriteLineInfo($"Process Sms.Tool started!");
-                
+                
                 var rpcServerPort = ConfigurationManager.ServerGatewayPort;
                 _rpcServiceContainer = new ThreadServiceContainer(rpcServerPort);
                 _rpcServiceContainer.StartService();