Skip to content

Commit

Permalink
Ditch manual thread call in MainFRame quit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Holmes committed Jan 21, 2015
1 parent bd87450 commit f9936ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui_swing/src/com/dmdirc/addons/ui_swing/MainFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9936ba

Please sign in to comment.