mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 13:07:34 +08:00
Closing files that should be closed
This commit is contained in:
@@ -319,6 +319,8 @@ void print_status()
|
||||
break;
|
||||
}
|
||||
|
||||
close(state_sub);
|
||||
|
||||
|
||||
warnx("arming: %s", armed_str);
|
||||
}
|
||||
@@ -1764,5 +1766,7 @@ void *commander_low_prio_loop(void *arg)
|
||||
|
||||
}
|
||||
|
||||
close(cmd_sub);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user