()
| 593 | } |
| 594 | |
| 595 | func (m *appModel) contextShutdownCmd() tea.Cmd { |
| 596 | return func() tea.Msg { |
| 597 | go func() { |
| 598 | <-m.shutdownDone |
| 599 | m.cleanupManagedResources() |
| 600 | }() |
| 601 | return nil |
| 602 | } |
| 603 | } |
| 604 | |
| 605 | // Init initializes the model. |
| 606 | func (m *appModel) Init() tea.Cmd { |
no test coverage detected