diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-19 09:35:09 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-19 09:35:09 +0000 |
commit | 7add810c8ceb0a99fa9d2c32e2578e352f575372 (patch) | |
tree | 162ac92d137841f076beba406c3bca6a3dc9f2e3 /sca-java-2.x/trunk/modules/domain-node | |
parent | 109baa35879f5019953b8668ef54c32bbf1ced55 (diff) |
On stop also stop the runtime if its set
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1124634 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/domain-node')
-rw-r--r-- | sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java index 6bd045e653..2c15a4464b 100644 --- a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java +++ b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java @@ -384,6 +384,9 @@ public class NodeImpl implements Node { } startedComposites.clear(); stoppedComposites.clear(); + if (tuscanyRuntime != null) { + tuscanyRuntime.stop(); + } } @Override |