summaryrefslogtreecommitdiff
path: root/qpid/python/commands
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-05-15 22:15:33 +0000
committerRafael H. Schloming <rhs@apache.org>2008-05-15 22:15:33 +0000
commit55969a7fa19c4ad182518066afec1b013ec4abd0 (patch)
tree55c3b2cbbd04426ec147a5e5d948965b97557626 /qpid/python/commands
parent6759e54c226d6dc779afd034078c73bc3bf23093 (diff)
downloadqpid-python-55969a7fa19c4ad182518066afec1b013ec4abd0.tar.gz
QPID-1064: made qpid-config close the session/connection; added incoming.stop() to cancel incoming messages and join on the listener thread; made managementBroker.removeChannel use incoming.stop(); modified session.close to wait on _closed rather than on channel == None
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@656871 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/commands')
-rwxr-xr-xqpid/python/commands/qpid-config2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/python/commands/qpid-config b/qpid/python/commands/qpid-config
index 23a054f497..054ea39e94 100755
--- a/qpid/python/commands/qpid-config
+++ b/qpid/python/commands/qpid-config
@@ -108,6 +108,8 @@ class BrokerManager:
def Disconnect (self):
self.mclient.removeChannel (self.mchannel)
+ self.session.close(timeout=10)
+ self.conn.close(timeout=10)
def Overview (self):
self.ConnectToBroker ()