aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-04-05 14:27:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-04-05 17:34:17 +0000
commit7f4328e0b1d5e47aa096c0d3cd8bfea143f80a91 (patch)
tree0ebc6a756321bb0d10eb999b8ae2a40a9339ffa3 /CHANGELOG.md
parentterm: don't shutdown terminal when PTY is closed, unless --pty was used (diff)
term: send SIGHUP before SIGTERM when shutting down
If we're the ones initiating shutdown, start by sending SIGHUP. Only if the client application does not terminate, send SIGTERM (and if it still refuses to terminate, send SIGKILL). Also reduce the timeout between the signals from 60s to 30s.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 66d6dc42..b0c62d36 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -61,6 +61,9 @@
* Regression: terminal shutting down when the PTY is closed by the
client application, which may be earlier than when the client
application exits ([#1666][1666]).
+* When closing the window, send `SIGHUP` to the client application,
+ before sending `SIGTERM`. The signal sequence is now `SIGHUP`, wait,
+ `SIGTERM`, wait `SIGKILL`.
[1666]: https://codeberg.org/dnkl/foot/issues/1666