修复获取定时任务参数

This commit is contained in:
whyour
2026-06-13 00:09:31 +08:00
parent d1dfde3ca9
commit 7d8feadc78
4 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -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);
}