Files
uptodownbot/internal/handler/download.go
db123 6bbc87a7c8
All checks were successful
CI / build (push) Successful in 35s
fix: prevent context cancellation from blocking file delivery on cancel race
When a download completes but the user clicks Cancel at the same time,
handleDownloadCompletion's Telegram calls used the cancelled download
context and failed. Use context.Background() for all notification calls
so the file is always delivered regardless of download state.
2026-06-26 13:01:25 +03:30

23 KiB