mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-23 18:54:21 +01:00
refactor: use context for automatic lsp process cleanup
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user