Catch the standard Unix SIGTERM kill signal and do a graceful shutdown #709
No reviewers
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-10#709
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We already do this for the SIGINT kill signal. The change allows us to also do a clean shutdown of PyBitmessage when its process has been separated from the terminal. Otherwise, an attempt to stop the PyBitmessage process simply terminates it, and we lose any data not already written to disk.