Skip to content

Commit

Permalink
Add return to C++ CommandScheduler::ResetInstance()
Browse files Browse the repository at this point in the history
  • Loading branch information
KangarooKoala committed Jan 9, 2025
1 parent f83ac4c commit e72b6b0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ void CommandScheduler::ResetInstance() {
"Ignoring call to frc2::CommandScheduler::ResetInstance() outside of "
"simulation! frc2::CommandScheduler::ResetInstance() should only be "
"used for unit test setup.");
return;
}
std::make_unique<Impl>().swap(GetInstance().m_impl);
}
Expand Down

0 comments on commit e72b6b0

Please sign in to comment.