Files
PX4-Autopilot/src
Julian Oes aed9c16bf1 fix(flight_mode_manager): set up subscription before registering callback
init() registered the vehicle_local_position callback before calling
set_interval_us() and initialising _time_stamp_last_loop. The moment the callback
is registered it fires (and Run() is scheduled) on the publisher's thread, racing
those writes - ThreadSanitizer flags both. Register the callback last, once the
object is fully initialised.
2026-07-02 08:42:49 -07:00
..