Implement signal handling (SIGINT, SIGTERM) #79

Closed
opened 2026-07-13 16:58:28 +00:00 by fuzzy · 1 comment
Owner
## Sub-tasks - [ ] [On interrupt, cancel all workers and clean up](https://git.lan.thwap.org/thwap/pget/issues/76) - [ ] [Save resume state if possible](https://git.lan.thwap.org/thwap/pget/issues/77) - [ ] [Print a message indicating the download can be resumed](https://git.lan.thwap.org/thwap/pget/issues/78)
fuzzy self-assigned this 2026-07-13 16:58:28 +00:00
Owner

Closing — implemented in PR #145. Uses signal.NotifyContext for SIGINT/SIGTERM, context cancels in-flight workers immediately, partial file preserved when -c is active.

Closing — implemented in PR #[145](https://git.lan.thwap.org/thwap/pget/pulls/145). Uses `signal.NotifyContext` for SIGINT/SIGTERM, context cancels in-flight workers immediately, partial file preserved when `-c` is active.
Sign in to join this conversation.
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/pget#79
No description provided.