forked from Archive/PX4-Autopilot
added a call to px4_sem_destroy()
This commit is contained in:
parent
6ff228c2ff
commit
cdd7e95a92
|
@ -227,6 +227,7 @@ void Sih::run()
|
|||
perf_end(_loop_perf);
|
||||
}
|
||||
|
||||
px4_sem_destroy(&_data_semaphore);
|
||||
hrt_cancel(&_timer_call); // close the periodic timer interruption
|
||||
orb_unsubscribe(_actuator_out_sub);
|
||||
orb_unsubscribe(_parameter_update_sub);
|
||||
|
|
Loading…
Reference in New Issue