You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2010/06/30 17:40:56 UTC

svn commit: r959353 - /qpid/trunk/qpid/tools/src/py/qpid-stat

Author: gsim
Date: Wed Jun 30 15:40:55 2010
New Revision: 959353

URL: http://svn.apache.org/viewvc?rev=959353&view=rev
Log:
Ensure that any additional brokers in the cluster being monitored are cleaned up correctly

Modified:
    qpid/trunk/qpid/tools/src/py/qpid-stat

Modified: qpid/trunk/qpid/tools/src/py/qpid-stat
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/tools/src/py/qpid-stat?rev=959353&r1=959352&r2=959353&view=diff
==============================================================================
--- qpid/trunk/qpid/tools/src/py/qpid-stat (original)
+++ qpid/trunk/qpid/tools/src/py/qpid-stat Wed Jun 30 15:40:55 2010
@@ -161,6 +161,7 @@ class BrokerManager(Console):
     def Disconnect(self):
         if self.broker:
             self.qmf.delBroker(self.broker)
+        for b in self.brokers: self.qmf.delBroker(b.broker)
 
     def _getCluster(self):
         packages = self.qmf.getPackages()



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org