mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2486 - systemExitOnShutdown hangs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@835339 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ce18ec8b0f
commit
db65c4365b
|
@ -435,7 +435,7 @@ public class BrokerService implements Service {
|
|||
if (systemExitOnShutdown) {
|
||||
addShutdownHook(new Runnable() {
|
||||
public void run() {
|
||||
System.exit(systemExitOnShutdownExitCode);
|
||||
Runtime.getRuntime().halt(systemExitOnShutdownExitCode);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue