From 938464df809e82f5e83c25e6b56be15ae3902a2a Mon Sep 17 00:00:00 2001 From: Roman Date: Sat, 25 Jul 2020 17:46:06 +0300 Subject: [PATCH] DCO-bot check fix Signed-off-by: Roman --- src/main/cluster.ts | 2 +- src/main/index.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/cluster.ts b/src/main/cluster.ts index 38ddb79577..8e399375e3 100644 --- a/src/main/cluster.ts +++ b/src/main/cluster.ts @@ -417,7 +417,7 @@ export class Cluster implements ClusterModel { } protected async getAllowedResources() { - // TODO: auto-populate all resources dynamically + // todo: auto-populate all resources dynamically (e.g. kubectl api-resources -o=wide -v=7) const apiResources = [ { resource: "configmaps" }, { resource: "cronjobs", group: "batch" }, diff --git a/src/main/index.ts b/src/main/index.ts index 6ca9a78be0..3da443ae8b 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -81,7 +81,8 @@ app.on("ready", main); app.on("will-quit", async (event) => { event.preventDefault(); // To allow mixpanel sending to be executed - if (clusterManager) clusterManager.stop() if (proxyServer) proxyServer.close() + if (clusterManager) clusterManager.stop() + if (windowManager) windowManager.destroy() app.exit(); })