commander: forgot to close fd

This commit is contained in:
Julian Oes
2016-02-26 10:21:33 +00:00
parent 23df992cc5
commit 0988fef831
+1
View File
@@ -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;