refactor: use context for automatic lsp process cleanup

This commit is contained in:
Nacho Vazquez
2025-04-12 12:43:23 -03:00
parent 6fe85c66e7
commit bd2cb4b5b9
3 changed files with 3 additions and 20 deletions

View File

@@ -48,7 +48,6 @@ var rootCmd = &cobra.Command{
ctx := context.Background()
app := app.New(ctx, conn)
defer app.Close()
logging.Info("Starting termai...")
zone.NewGlobal()
tui := tea.NewProgram(