Save ConfigManager to disk on JVM exit (#821)

This commit is contained in:
Matt
2023-03-01 16:05:03 -05:00
committed by GitHub
parent cdf045d887
commit 0bb563a6e2

View File

@@ -138,6 +138,7 @@ public class HardwareManager {
private void onJvmExit() {
logger.info("Shutting down LEDs...");
if (visionLED != null) visionLED.setState(false);
ConfigManager.getInstance().saveToDisk();
}
public boolean restartDevice() {