吸收数字员工周期调度闭环
This commit is contained in:
@@ -40,6 +40,7 @@ import { migrateDataDir, migrateSettingsPaths } from "./bootstrap/migrate";
|
||||
import { getDeviceId, logSystemInfo } from "./services/system/deviceId";
|
||||
import { initWebviewPolicy } from "./services/system/webviewPolicy";
|
||||
import { stopDigitalEmployeeSyncWorker } from "./services/digitalEmployee/syncService";
|
||||
import { stopDigitalEmployeeScheduler } from "./services/digitalEmployee/schedulerService";
|
||||
|
||||
// macOS 26 Tahoe 兼容性:禁用 Fontations 字体后端
|
||||
// 参考: https://github.com/electron/electron/issues/49522
|
||||
@@ -374,6 +375,10 @@ async function cleanupAllProcesses(): Promise<void> {
|
||||
]);
|
||||
};
|
||||
|
||||
await runCleanupStep("Digital employee scheduler stop", () => {
|
||||
stopDigitalEmployeeScheduler();
|
||||
});
|
||||
|
||||
await runCleanupStep("Computer server stop", async () => {
|
||||
await stopComputerServer();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user