[ntcore,wpilib] Fix tsan errors in tests that add NT listeners (#8713)

This commit is contained in:
Kevin Cooney
2026-04-26 16:40:46 -07:00
committed by GitHub
parent 97d0b15f7d
commit 657d4d9b58
4 changed files with 13 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ int main(int argc, char** argv) {
});
::testing::InitGoogleMock(&argc, argv);
int ret = RUN_ALL_TESTS();
wpi::nt::ResetInstance(wpi::nt::GetDefaultInstance());
return ret;
}