From e188cf45e607f382f461c5a21e0088414c36774f Mon Sep 17 00:00:00 2001 From: Lauri Nevala Date: Tue, 18 May 2021 12:23:17 +0300 Subject: [PATCH] Delete node shell container on exit (#2793) 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