@@ -69,7 +69,7 @@ func New(ctx context.Context, conn *sql.DB, cfg *config.Config) (*App, error) {
6969 messages := message.NewService(q)
7070 files := history.NewService(q, conn)
7171 skipPermissionsRequests := cfg.Permissions != nil && cfg.Permissions.SkipRequests
72− allowedTools := []string{}
72+ var allowedTools []string
7373 if cfg.Permissions != nil && cfg.Permissions.AllowedTools != nil {
7474 allowedTools = cfg.Permissions.AllowedTools
7575 }
@@ -415,7 +415,7 @@ func (app *App) Shutdown() {
415415 })
416416 }
417417
418− // Call call cleanup functions.
418+ // Call all cleanup functions.
419419 for _, cleanup := range app.cleanupFuncs {
420420 if cleanup != nil {
421421 wg.Go(func() {