mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-10 12:20:07 +00:00
Replace both the trap-clobbering `trap 'rm -f ...' EXIT` calls and the inline `rm -f` approach with `track_temp_file()` from shared/common.sh. This registers temp files with the centralized cleanup handler that is already set up on EXIT/INT/TERM, so: - Temp files are cleaned up even on interrupt (not just success path) - The calling script's EXIT trap is never clobbered - _sprite_retry wrappers are preserved for transient error recovery Agent: pr-maintainer Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||