summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:26:24 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:26:24 +0000
commit8e41f174287d0d5d47c1e93fcac84c3a4efc96b0 (patch)
tree8e0ac80875f9d106101e7766cd9f3a9f90af0e40 /pdf-over-gui/src
parent2e1613497df257679a8c8d4edbce83db5314cd34 (diff)
downloadpdf-over-8e41f174287d0d5d47c1e93fcac84c3a4efc96b0.tar.gz
pdf-over-8e41f174287d0d5d47c1e93fcac84c3a4efc96b0.tar.bz2
pdf-over-8e41f174287d0d5d47c1e93fcac84c3a4efc96b0.zip
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
Diffstat (limited to 'pdf-over-gui/src')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java3
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java3
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);
}
}