- Loader: clear existing interval in start() to prevent orphaned timers on double-call; add dispose() to stop and null TUI ref - CancellableLoader: abort the AbortController and clear onAbort in dispose() so external signal holders release the controller - Editor: add public dispose() that clears the autocomplete debounce timer to prevent post-removal callbacks - Input: convert focused to getter/setter that resets isInPaste and pasteBuffer on focus loss, preventing paste state corruption - TUI.stop(): iterate overlayStack calling dispose() on each component before clearing, stopping overlay timers (e.g. dashboard refresh) |
||
|---|---|---|
| .. | ||
| native | ||
| pi-agent-core | ||
| pi-ai | ||
| pi-coding-agent | ||
| pi-tui | ||