mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
修复获取定时任务参数
This commit is contained in:
1 parent
d1dfde3ca9
commit
7d8feadc78
4 files changed
+8
-10
No files matched your search
+1
-1
@@ -437,7 +437,7 @@ export async function killTask(pid: number) {
|
||||
[pid, ...pids].reverse().forEach((x) => {
|
||||
process.kill(x, 15);
|
||||
});
|
||||
} catch (error) {}
|
||||
} catch (error) { }
|
||||
} else {
|
||||
process.kill(pid, 2);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user