mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
Alignment code isn't needed since C++17. Bazel tests were segfaulting and asan traced this to use-after-frees related to some of the atomic booleans. Worker threads are now joined to ensure the thread is completely stopped and destroyed before the atomic boolean is freed. The primary camera calibration thread also has had its finished flag moved to a shared_ptr to ensure it lives long enough.