示例#1
0
 public void Stop()
 {
     try
     {
         Server.Dispose();
     }
     catch (Exception e)
     {
         Utils.Logging.Info(e.ToString());
     }
 }
示例#2
0
 public bool Stop()
 {
     try
     {
         Server.Dispose();
     }
     catch (Exception e)
     {
         Utils.Logging.Info(e.ToString());
         return(false);
     }
     return(true);
 }