fix(browser-manager): await login-window close during shutdown

This commit is contained in:
ZacharyZhang-NY committed 2026-04-16 23:04:29 -04:00
1 parent 3bdc8b4be1
commit 4fd1326089
3 files changed
+17 -5

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ export function createMainRuntimeSupport(state: MainRuntimeState) {
getWorkerProcess: () => requireServiceGraph().getWorkerService()?.getWorker() ?? null,
resetAfterRestore: () => {
initializeAgentTokenSigningKey(requireDb().profileDir);
requireBrowserActionService().resetBrowserManager();
void requireBrowserActionService().resetBrowserManager();
},
getApiPort: () => state.apiServer?.port ?? 0,
notify: (options) => requireIpcSupport().notify(options),