summaryrefslogtreecommitdiff
path: root/internal/processor
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-03 08:06:43 +0300
committerPaul Buetow <paul@buetow.org>2026-04-03 08:06:43 +0300
commit170a4a9d46a32bcb28c04f6ff6bb1a48284ec424 (patch)
tree2befb9d05cb857327efd0ba65bf06ac52cff8b11 /internal/processor
parentf4bc35c0a24766c8e9a155cbad5ffdaf088ec458 (diff)
task 00a: track background goroutines in WaitGroup and respect ctx.Done()
- startFileCheckTicker: add wg.Add(1)/wg.Done() so the app shutdown handler waits for the ticker goroutine to exit (it already uses ctx.Done() to stop). - post-delete cleanup goroutine: add wg.Add(1)/wg.Done() and a ctx.Done() case so a shutdown during the 5-second polling window terminates cleanly instead of leaking the goroutine. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/processor')
0 files changed, 0 insertions, 0 deletions