Mac: clarify runtime comments

This commit is contained in:
Peter Steinberger
2025-12-09 00:08:19 +01:00
parent bc01488a75
commit 5674c9f4c2
12 changed files with 21 additions and 4 deletions

View File

@@ -290,6 +290,7 @@ enum VoiceWakeForwarder {
let nanos = UInt64(max(timeout, 0.1) * 1_000_000_000)
try? await Task.sleep(nanoseconds: nanos)
if process.isRunning {
// SIGTERM is enough to stop ssh; keeps stdout/stderr readable for diagnostics.
process.terminate()
}
}