修复获取定时任务参数

This commit is contained in:
whyour committed 2026-06-13 00:09:31 +08:00
1 parent d1dfde3ca9
commit 7d8feadc78
4 files changed
+8 -10

No files matched your search

+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);
}