summaryrefslogtreecommitdiff
path: root/internal/tui/pidpicker/proclist.go
AgeCommit message (Collapse)Author
2026-05-13fix(pidpicker): eliminate defer-inside-goroutine-in-loop anti-patternsPaul Buetow
Extract the per-pid goroutine body from scanAllThreadsFrom into a named scanThreadsWorker function. This removes both defer statements from the anonymous closure that was spawned inside a for loop: the semaphore release is now an explicit <-sem call immediately after I/O completes, and wg.Done() is called directly after scanThreadsWorker returns. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18cleanupPaul Buetow
2026-02-26tui: revamp status keys and add pid/tid reselection flowPaul Buetow
2026-02-23tui: add pid picker model and /proc scannerPaul Buetow