mirror of https://github.com/apache/activemq.git
another memory leak fixed
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392929 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8cb2141080
commit
a1e410f761
|
@ -174,6 +174,8 @@ public class AdvisoryBroker extends BrokerFilter {
|
||||||
next.removeDestinationInfo(context, info);
|
next.removeDestinationInfo(context, info);
|
||||||
ActiveMQTopic topic = AdvisorySupport.getDestinationAdvisoryTopic(info.getDestination());
|
ActiveMQTopic topic = AdvisorySupport.getDestinationAdvisoryTopic(info.getDestination());
|
||||||
fireAdvisory(context, topic, info);
|
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 {
|
public void removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error) throws Exception {
|
||||||
|
|
Loading…
Reference in New Issue