fix(mesh/reticulum): kill whole daemon process group on drop #67

Closed
lfg2025 wants to merge 0 commits from fix/reticulum-daemon-process-group into main
Owner

Fixes the reticulum daemon pile-up: the PyInstaller one-file bootstrap forks a child that start_kill only orphans, leaving the RNode serial port jammed across 30-min RX-stall reconnects (9 instances observed live). Spawn the daemon as its own process-group leader and signal the whole group (SIGTERM then SIGKILL) on drop.

Verified: cargo check + reticulum unit tests pass.

Fixes the reticulum daemon pile-up: the PyInstaller one-file bootstrap forks a child that start_kill only orphans, leaving the RNode serial port jammed across 30-min RX-stall reconnects (9 instances observed live). Spawn the daemon as its own process-group leader and signal the whole group (SIGTERM then SIGKILL) on drop. Verified: cargo check + reticulum unit tests pass.
lfg2025 closed this pull request 2026-07-02 08:05:03 +00:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.