mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 10:21:35 +08:00
simulation: fix TSAN issue
This commit is contained in:
@@ -1687,6 +1687,7 @@ int simulator_mavlink_main(int argc, char *argv[])
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
px4_task_delete(g_sim_task);
|
px4_task_delete(g_sim_task);
|
||||||
|
px4_task_join(g_sim_task);
|
||||||
g_sim_task = -1;
|
g_sim_task = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user