diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-25 12:31:06 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-25 12:31:06 +0000 |
commit | cffc681dbcb5a4745807badbebccd9863b892701 (patch) | |
tree | 9cc59841c481b2a78db95cd8814f0c81b8345818 | |
parent | 220df09634dd21499a4f6c80ef26798966b8626b (diff) |
Merge r1000642 Add code to avoid a hang on exit (workaround for TUSCANY-3277)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027091 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | sca-java-1.x/trunk/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/server/CalculatorServer.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-java-1.x/trunk/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/server/CalculatorServer.java b/sca-java-1.x/trunk/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/server/CalculatorServer.java index c6a230fcb4..a4dbeaecb0 100644 --- a/sca-java-1.x/trunk/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/server/CalculatorServer.java +++ b/sca-java-1.x/trunk/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/server/CalculatorServer.java @@ -45,6 +45,10 @@ public class CalculatorServer { node.stop(); System.out.println("Bye"); + + // The following line is a workaround for TUSCANY-3277 when running + // on Tuscany SCA 1.6.1 (the JVM hangs when exiting). + System.exit(0); } } |