Skip to content

Commit a706cc3

Browse files
In WPILibExtension call cancelAll() before unregisterAllSubsystems()
Co-authored-by: cuttestkittensrule <mangoiscute95@gmail.com>
1 parent bc0968e commit a706cc3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

testing/src/main/java/com/team2813/lib2813/testing/junit/jupiter/WPILibExtension.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public void beforeAll(ExtensionContext context) {
5656
DriverStationSim.setEnabled(true);
5757
DriverStationSim.notifyNewData();
5858
CommandScheduler.getInstance().enable();
59+
CommandScheduler.getInstance().cancelAll();
5960
CommandScheduler.getInstance().unregisterAllSubsystems();
6061
}
6162

0 commit comments

Comments
 (0)