mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 22:58:10 +08:00
commander: forgot to close fd
This commit is contained in:
@@ -2762,6 +2762,7 @@ int commander_thread_main(int argc, char *argv[])
|
||||
px4_close(diff_pres_sub);
|
||||
px4_close(param_changed_sub);
|
||||
px4_close(battery_sub);
|
||||
px4_close(land_detector_sub);
|
||||
|
||||
thread_running = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user