Author: gsim Date: Thu May 26 17:42:27 2011 New Revision: 1128002 URL: http://svn.apache.org/viewvc?rev=1128002&view=rev Log: QPID-3218: abandon any linking/unlinking if session has been detached
Modified: qpid/trunk/qpid/python/qpid/messaging/driver.py Modified: qpid/trunk/qpid/python/qpid/messaging/driver.py URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/qpid/messaging/driver.py?rev=1128002&r1=1128001&r2=1128002&view=diff ============================================================================== --- qpid/trunk/qpid/python/qpid/messaging/driver.py (original) +++ qpid/trunk/qpid/python/qpid/messaging/driver.py Thu May 26 17:42:27 2011 @@ -828,8 +828,9 @@ class Engine: self._closing = True def attach(self, ssn): + if ssn.closed: return sst = self._attachments.get(ssn) - if sst is None and not ssn.closed: + if sst is None: for i in xrange(0, self.channel_max): if not self._sessions.has_key(i): ch = i --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:commits-subscr...@qpid.apache.org