updater process stays running if closed with cross icon fix #6813

only:uaefi
This commit is contained in:
Andrey 2024-08-14 17:17:37 -04:00
parent 0481962837
commit f94c0d061c
2 changed files with 3 additions and 2 deletions

View File

@ -35,8 +35,9 @@ public class FrameHelper {
return title + " " + bundleName;
}
// note hard-coded 'EXIT_ON_CLOSE' - that's the best choice at the moment
public static FrameHelper createFrame(String title) {
FrameHelper frame = new FrameHelper();
FrameHelper frame = new FrameHelper(JDialog.EXIT_ON_CLOSE);
frame.frame.setTitle(appendBundleName(title));
return frame;
}

View File

@ -86,7 +86,7 @@ public class StartupFrame {
public void windowClosed(WindowEvent ev) {
if (!isProceeding) {
getConfig().save();
IoUtils.exit("windowClosed", 0);
log.info("Configuration saved.");
}
}
});