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