Example #1
0
 /// <summary>
 /// 停止服务
 /// </summary>
 public void Stop()
 {
     try
     {
         JobManager.ShutdownJobs();
         JobManager.Clear();
     }
     catch (Exception ex)
     {
         Logger.Error("服务停止异常", ex);
     }
 }