Keep shell processes alive between network offline periods (#4258)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-11-09 12:30:55 -05:00
1 parent 8de3cbe5ee
commit e5bf5920fc
6 files changed
+141 -29

No files matched your search

+2
View File
@@ -65,6 +65,7 @@ import { initMenu } from "./menu";
import { initTray } from "./tray";
import { kubeApiRequest, shellApiRequest, ShellRequestAuthenticator } from "./proxy-functions";
import { AppPaths } from "../common/app-paths";
import { ShellSession } from "./shell-session/shell-session";
injectSystemCAs();
@@ -228,6 +229,7 @@ app.on("ready", async () => {
onQuitCleanup.push(
initMenu(windowManager),
initTray(windowManager),
() => ShellSession.cleanup(),
);
installDeveloperTools();