summaryrefslogtreecommitdiffhomepage
path: root/cmd/root.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/root.go')
-rw-r--r--cmd/root.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/root.go b/cmd/root.go
index b4c1113a4..3ed809328 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -36,6 +36,7 @@ var rootCmd = &cobra.Command{
ctx := context.Background()
app := app.New(ctx, conn)
+ defer app.Close()
app.Logger.Info("Starting termai...")
zone.NewGlobal()
tui := tea.NewProgram(