summaryrefslogtreecommitdiff
path: root/python/qpid/messaging/driver.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2010-06-25 17:09:05 +0000
committerRafael H. Schloming <rhs@apache.org>2010-06-25 17:09:05 +0000
commite9920e89d298dbcc5cd01d0c79616353eb750c43 (patch)
tree6793a83cffe26ab8f15b43be2f7de77b58020f23 /python/qpid/messaging/driver.py
parent6b27ee254c81d3121cba7e20368f5c2d1f0fb2c5 (diff)
downloadqpid-python-e9920e89d298dbcc5cd01d0c79616353eb750c43.tar.gz
added optional timeouts to {connection,session,sender,receiver}.close() as well as connection.detach() and {session,sender}.sync()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958037 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/messaging/driver.py')
-rw-r--r--python/qpid/messaging/driver.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/qpid/messaging/driver.py b/python/qpid/messaging/driver.py
index 76ccd54e9f..6dab24db85 100644
--- a/python/qpid/messaging/driver.py
+++ b/python/qpid/messaging/driver.py
@@ -357,6 +357,8 @@ class Driver:
def stop(self):
self._selector.unregister(self)
+ if self._transport:
+ self.st_closed()
def fileno(self):
return self._transport.fileno()