mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Dont flush settings on exit after import (#1179)
Fixes bug when importing settings zip that would have the new settings be over written, and would not actually update
This commit is contained in:
@@ -94,6 +94,7 @@ public class RequestHandler {
|
||||
ctx.status(200);
|
||||
ctx.result("Successfully saved the uploaded settings zip, rebooting...");
|
||||
logger.info("Successfully saved the uploaded settings zip, rebooting...");
|
||||
ConfigManager.getInstance().disableFlushOnShutdown();
|
||||
restartProgram();
|
||||
} else {
|
||||
ctx.status(500);
|
||||
|
||||
Reference in New Issue
Block a user