From a8536c3c73a4445b1f1252a1d3271e0c73b35613 Mon Sep 17 00:00:00 2001
From: asmrobot <asmrobot@hotmail.com>
Date: Tue, 31 Dec 2024 07:36:29 +0000
Subject: [PATCH] unknow
---
src/RichCreator/Jobs/JobMonitor.cs | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/RichCreator/Jobs/JobMonitor.cs b/src/RichCreator/Jobs/JobMonitor.cs
index e9ddd2a..381ba1f 100644
--- a/src/RichCreator/Jobs/JobMonitor.cs
+++ b/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);
}
//停止
--
Gitblit v1.9.3