From 8e41f174287d0d5d47c1e93fcac84c3a4efc96b0 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:26:24 +0000 Subject: Workaround for remaining AWT-Shutdown thread on OSX git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@323 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java | 3 +++ pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java | 3 +++ 2 files changed, 6 insertions(+) (limited to 'pdf-over-gui') 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); } } -- cgit v1.2.3