activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r392929 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
Date Mon, 10 Apr 2006 12:19:26 GMT
Author: rajdavies
Date: Mon Apr 10 05:19:24 2006
New Revision: 392929

URL: http://svn.apache.org/viewcvs?rev=392929&view=rev
Log:
another memory leak fixed

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java?rev=392929&r1=392928&r2=392929&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
Mon Apr 10 05:19:24 2006
@@ -174,6 +174,8 @@
         next.removeDestinationInfo(context, info);
         ActiveMQTopic topic = AdvisorySupport.getDestinationAdvisoryTopic(info.getDestination());
         fireAdvisory(context, topic, info);
+        next.removeDestination(context, AdvisorySupport.getConsumerAdvisoryTopic(info.getDestination()),
0); 
+        next.removeDestination(context, AdvisorySupport.getProducerAdvisoryTopic(info.getDestination()),
0); 
     }
 
     public void removeConnection(ConnectionContext context, ConnectionInfo info, Throwable
error) throws Exception {



Mime
View raw message