added a call to px4_sem_destroy()

This commit is contained in:
romain
2019-03-12 08:40:38 -04:00
committed by Beat Küng
parent 6ff228c2ff
commit cdd7e95a92
+1
View File
@@ -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);