fix(browser-manager): await login-window close during shutdown
This commit is contained in:
1 parent
3bdc8b4be1
commit
4fd1326089
3 files changed
+17
-5
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user