forked from Archive/PX4-Autopilot
Closing files that should be closed
This commit is contained in:
parent
c3408332fd
commit
f6bf1c7bf2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue