diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-17 13:03:49 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-17 13:03:49 +0000 |
commit | 566605c662d21034391a548a51c9b7c68addfc4e (patch) | |
tree | 191b1b1a181a0047622953635a5146bd1f7046d4 /branches/sca-java-1.3.3/modules | |
parent | faece15685ae60f3d446b26b3bcca5e203617c80 (diff) |
TUSCANY-2630 memleak as RuntimeWireImpl callback cachedWire ref leaks due to clone() impl
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@705595 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.3.3/modules')
-rw-r--r-- | branches/sca-java-1.3.3/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeWireImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/branches/sca-java-1.3.3/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeWireImpl.java b/branches/sca-java-1.3.3/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeWireImpl.java index c67ead43e9..9a02c200b3 100644 --- a/branches/sca-java-1.3.3/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeWireImpl.java +++ b/branches/sca-java-1.3.3/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/RuntimeWireImpl.java @@ -335,6 +335,7 @@ public class RuntimeWireImpl implements RuntimeWire { copy.wireSource = (EndpointReference)wireSource.clone(); copy.wireTarget = (EndpointReference)wireTarget.clone(); copy.invoker = new RuntimeWireInvoker(copy.messageFactory, copy.conversationManager, copy); + copy.cachedWire = null; // TUSCANY-2630 return copy; } |