Best-effort cleanup for the SSH child this process spawned.
(child: &mut Child)
| 491 | |
| 492 | /// Best-effort cleanup for the SSH child this process spawned. |
| 493 | fn terminate_owned_forward_child(child: &mut Child) { |
| 494 | let _ = child.start_kill(); |
| 495 | } |
| 496 | |
| 497 | /// Track a verified background forward, cleaning it up if PID-file persistence fails. |
| 498 | fn track_background_forward_or_cleanup( |