activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r835339 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Date Thu, 12 Nov 2009 11:26:57 GMT
Author: dejanb
Date: Thu Nov 12 11:26:57 2009
New Revision: 835339

URL: http://svn.apache.org/viewvc?rev=835339&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQ-2486 - systemExitOnShutdown hangs

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java?rev=835339&r1=835338&r2=835339&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Thu Nov 12 11:26:57 2009
@@ -435,7 +435,7 @@
             if (systemExitOnShutdown) {
                 addShutdownHook(new Runnable() {
                     public void run() {
-                        System.exit(systemExitOnShutdownExitCode);
+                    	Runtime.getRuntime().halt(systemExitOnShutdownExitCode);
                     }
                 });
             }



Mime
View raw message