mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-25 06:50:35 +08:00
added a call to px4_sem_destroy()
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user