From: Kelly Campbell Date: Sat, 31 Mar 2001 02:07:02 +0000 (+0000) Subject: Added explicit System.exit(0) when main is done to work around MacOS X X-Git-Tag: fop-0_18_1~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=57cd7c8d29fb0785c7a674156b297871d1fce1b1;p=xmlgraphics-fop.git Added explicit System.exit(0) when main is done to work around MacOS X JDK issue which leaves the JVM running when main is done on command line apps. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194182 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/apps/Fop.java b/src/org/apache/fop/apps/Fop.java index 727fbbaf3..65d87665a 100644 --- a/src/org/apache/fop/apps/Fop.java +++ b/src/org/apache/fop/apps/Fop.java @@ -12,6 +12,7 @@ public class Fop { CommandLineOptions options = new CommandLineOptions (args); Starter starter = options.getStarter(); starter.run(); + System.exit(0); } }