diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-25 09:09:14 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-25 09:09:14 +0000 |
commit | 8ac341704ec9c9a946e899370faf85fd02f6f524 (patch) | |
tree | b6c6052eea9d189af63064a6ba7debeb74be3b79 /sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node | |
parent | 9c562e0a464310bc3a9c6568b94633a45214205e (diff) |
Remove CompositeContext threadlocal thats might be causeing a storage leak as Tuscany doesn't use this anymore
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026981 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node')
-rw-r--r-- | sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java b/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java index 6eafb4df12..8eecca1564 100644 --- a/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java +++ b/sca-java-2.x/trunk/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java @@ -134,7 +134,6 @@ public class NodeImpl implements Node { configuration.getURI(), nodeFactory.getDeployer().getSystemDefinitions()); - CompositeContext.setThreadCompositeContext(compositeContext); } finally { // Reset the thread context monitor nodeFactory.monitorFactory.setContextMonitor(tcm); @@ -213,7 +212,6 @@ public class NodeImpl implements Node { this.compositeContext = null; ThreadMessageContext.removeMessageContext(); - CompositeContext.removeCompositeContext(); } catch (ActivationException e) { throw new IllegalStateException(e); |