Files
PX4-Autopilot/platforms/common/include/px4_platform_common
Jacob Dahl cc28d51849 fix(px4_work_queue): don't touch a WorkItem after its Run() returns (#29278) (#29531)
Modules that stop through ModuleBase::exit_and_cleanup() delete themselves
inside Run(), and since 9b62a1701d WorkQueue::Run() then clears
_run_in_progress in the freed object. ASAN aborts SITL on
`battery_simulator stop` and the stop of most other work queue modules.

Track the in-flight item in the WorkQueue instead, which lives until its
own Run() exits on the worker thread.

Assisted-by: Claude:claude-opus-5-5
(cherry picked from commit 8c5f4e0788)
2026-10-31 10:24:52 -06:00
..
2026-07-02 08:42:49 -07:00
2025-08-05 20:27:05 -07:00
2024-04-29 07:22:40 -07:00
2025-03-10 18:59:52 -04:00
2026-06-24 15:32:44 +02:00
2026-06-24 15:32:44 +02:00
2024-01-04 11:17:16 -05:00
2026-07-02 08:42:49 -07:00