summaryrefslogtreecommitdiff
path: root/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
commit9a3d8ad1695d1b7f2cb42d77c6106245c521566c (patch)
tree9f9502fb99f594cfd4d0a60d817faf6ca6ab3d69 /python/commands
parent82950090c94ed3ace2d7ab4c410cdd72fed5c176 (diff)
downloadqpid-python-9a3d8ad1695d1b7f2cb42d77c6106245c521566c.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/qpid@656871 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/commands')
-rwxr-xr-xpython/commands/qpid-config2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/commands/qpid-config b/python/commands/qpid-config
index 23a054f497..054ea39e94 100755
--- a/python/commands/qpid-config
+++ b/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 ()