aboutsummaryrefslogtreecommitdiff
path: root/tests/test-vc-config--git-clone.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-24 04:08:19 -0500
committerCraig Jennings <c@cjennings.net>2026-05-24 04:08:19 -0500
commit1db4c8ff934654c044cbe664afa27a3604d060fb (patch)
tree5dffbfec5fb0dbfd40b14c47e2b0fb1d9b768ffb /tests/test-vc-config--git-clone.el
parent23443f44d1b3b08bf9408078e154d3d7c7078def (diff)
downloaddotemacs-1db4c8ff934654c044cbe664afa27a3604d060fb.tar.gz
dotemacs-1db4c8ff934654c044cbe664afa27a3604d060fb.zip
fix(recording): scope wf-recorder stop signal to our own process
Stopping a Wayland recording ran pkill -INT wf-recorder, which signals every wf-recorder on the system — including an unrelated screen capture the user started outside Emacs. The stop path now scopes the producer-first interrupt to the wf-recorder child of our own recording shell via pkill -P <shell-pid>, in the new cj/recording--interrupt-child-wf-recorder helper. The producer-first ordering is unchanged: wf-recorder still gets SIGINT before the process-group signal so ffmpeg sees a clean EOF on pipe:0 and finalizes the MKV. The orphan-cleanup at recording start stays a broad by-name kill on purpose — those leftover recorders come from crashed sessions whose shells are already dead, so there is no live PID to scope to. Tests cover the scoped call, the nil-PID no-op, and that the bare system-wide form is never used.
Diffstat (limited to 'tests/test-vc-config--git-clone.el')
0 files changed, 0 insertions, 0 deletions