Files
cproof/src
Karel Balej 7c83c2608d exit gracefully on SIGTERM and SIGHUP
Make profanity exit gracefully when it receives either SIGTERM or
SIGHUP. This means that various cleanups will happen as if the user
issued the /quit command, whereas before these signals would terminate
profanity immediately leaving for instance the connection to the server
unterminated.

The main motivation for this change is so that profanity will exit
gracefully when the user closes the terminal that it's running in, which
is a handy shortcut (but can also happen on accident) and won't now lead
to the connection slowly timing out on the server instead. Similarly for
SIGTERM: profanity now for instance needs not be manually closed before
shutting down the computer to avoid the above as it will instead receive
this signal from the init process.
2026-01-22 13:37:56 +01:00
..
2025-11-23 12:47:39 +01:00
2025-11-23 12:47:39 +01:00
2025-11-23 12:47:39 +01:00
2025-11-18 12:16:29 +01:00
2025-11-18 12:16:29 +01:00
2025-11-18 12:16:29 +01:00
2025-11-23 12:47:39 +01:00
2025-03-27 20:06:38 +01:00
2025-11-23 12:47:39 +01:00
2025-11-23 12:47:39 +01:00
2025-03-27 20:06:38 +01:00
2025-03-27 20:06:38 +01:00
2025-11-18 12:16:29 +01:00
2025-03-12 10:15:39 +01:00
2025-11-18 12:16:29 +01:00
2025-03-27 20:06:38 +01:00