diff options
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java | 3 | ||||
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java index 3bea5d08..26db8bce 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java @@ -71,6 +71,9 @@ public class DeveloperMain { stateMachine.start(); log.debug("Ended stateMachine ..."); //$NON-NLS-1$ + + // Workaround for remaining AWT-Shutdown thread on OSX + System.exit(0); } } diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java index 98ca7ac8..1b7a3116 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java @@ -70,5 +70,8 @@ public class Main { log.debug("Starting stateMachine ..."); //$NON-NLS-1$ stateMachine.start(); log.debug("Ended stateMachine ..."); //$NON-NLS-1$ + + // Workaround for remaining AWT-Shutdown thread on OSX + System.exit(0); } } |