diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2008-05-15 22:15:33 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2008-05-15 22:15:33 +0000 |
| commit | 55969a7fa19c4ad182518066afec1b013ec4abd0 (patch) | |
| tree | 55c3b2cbbd04426ec147a5e5d948965b97557626 /qpid/python/commands | |
| parent | 6759e54c226d6dc779afd034078c73bc3bf23093 (diff) | |
| download | qpid-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-x | qpid/python/commands/qpid-config | 2 |
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 () |
