mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-09 01:16:15 -08:00
When the reuse-instance setting is enabled, the spawned MPV/VLC process is stored globally and kept alive (non-detached, piped stdio) so follow-up streams can be loaded into it. Nothing killed that process on app quit, so every app restart left an orphaned player running in the background. Register an explicit shutdown in the before-quit hook that kills the stored process and stops position polling, mirroring the existing embedded-MPV shutdown path. Co-authored-by: 4gray <fourgray@proton.me> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>