From 55969a7fa19c4ad182518066afec1b013ec4abd0 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Thu, 15 May 2008 22:15:33 +0000 Subject: 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 --- qpid/python/commands/qpid-config | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qpid/python/commands') 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 () -- cgit v1.2.1