From 0f7ac9b256cfc44a9e6c29ab09f4d7363ff78544 Mon Sep 17 00:00:00 2001 From: Lauri Nevala Date: Tue, 18 May 2021 09:52:29 +0300 Subject: [PATCH] Delete node shell container on exit Signed-off-by: Lauri Nevala --- src/main/shell-session/node-shell-session.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/shell-session/node-shell-session.ts b/src/main/shell-session/node-shell-session.ts index 1848716380..72413c7953 100644 --- a/src/main/shell-session/node-shell-session.ts +++ b/src/main/shell-session/node-shell-session.ts @@ -120,6 +120,11 @@ export class NodeShellSession extends ShellSession { }); } + protected exit() { + super.exit(); + this.deleteNodeShellPod(); + } + protected deleteNodeShellPod() { this .kc