Skip to content

Commit a069521

Browse files
committed
V12 release
1 parent 918ab80 commit a069521

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/java/to/sparkapp/app/windows/MainWindow.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,13 @@ private void performShutdown() {
221221
AiDock.clearIconCache();
222222

223223
if (fxWebViewPane != null) {
224-
fxWebViewPane.shutdown(() -> log.info("Webview shutdown complete"));
224+
fxWebViewPane.shutdown(() -> {
225+
log.info("Webview shutdown complete");
226+
Platform.exit();
227+
System.exit(0);
228+
});
225229
} else {
230+
Platform.exit();
226231
System.exit(0);
227232
}
228233
}

0 commit comments

Comments
 (0)