diff --git a/ui_swing/src/com/dmdirc/addons/ui_swing/MainFrame.java b/ui_swing/src/com/dmdirc/addons/ui_swing/MainFrame.java index fa28e0912..517d1fc13 100644 --- a/ui_swing/src/com/dmdirc/addons/ui_swing/MainFrame.java +++ b/ui_swing/src/com/dmdirc/addons/ui_swing/MainFrame.java @@ -233,7 +233,7 @@ public void windowClosing(final WindowEvent windowEvent) { @Override public void windowClosed(final WindowEvent windowEvent) { - new Thread(() -> lifecycleController.quit(exitCode), "Quit thread").start(); + UIUtilities.invokeOffEDTNoLogging(() -> lifecycleController.quit(exitCode)); } @Override