| src/RichCreator/Jobs/JobMonitor.cs | ●●●●● patch | view | raw | blame | history |
src/RichCreator/Jobs/JobMonitor.cs
@@ -52,7 +52,13 @@ throw new Exception("不能多次运行"); } canRun = false; ThreadPool.QueueUserWorkItem(MonitorBusinessThread); Thread thread = new Thread(MonitorBusinessThread); thread.IsBackground = true; thread.Start(); //ThreadPool.QueueUserWorkItem(MonitorBusinessThread); } //停止