mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
Problems fixed: 1. Added start_new_session=True to dump1090 Popen - creates proper process group for clean shutdown 2. Use os.killpg() to kill entire process group when stopping ADS-B - ensures child processes are terminated and device is released 3. Track active device index in adsb_active_device for debugging 4. Add device info to /adsb/status endpoint 5. Add logging when starting/stopping ADS-B with device info These changes ensure the RTL-SDR device is properly released when ADS-B stops, allowing another process (e.g., airband) to use a different device. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>