You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2014/09/02 10:57:38 UTC
svn commit: r1621948 -
/qpid/proton/branches/examples/tutorial/proton_events.py
Author: gsim
Date: Tue Sep 2 08:57:38 2014
New Revision: 1621948
URL: http://svn.apache.org/r1621948
Log:
ensure transport is closed even on disconnect
Modified:
qpid/proton/branches/examples/tutorial/proton_events.py
Modified: qpid/proton/branches/examples/tutorial/proton_events.py
URL: http://svn.apache.org/viewvc/qpid/proton/branches/examples/tutorial/proton_events.py?rev=1621948&r1=1621947&r2=1621948&view=diff
==============================================================================
--- qpid/proton/branches/examples/tutorial/proton_events.py (original)
+++ qpid/proton/branches/examples/tutorial/proton_events.py Tue Sep 2 08:57:38 2014
@@ -132,6 +132,7 @@ class Selectable(object):
else:
self.read_done = True
self.write_done = True
+ self.transport.close_tail()
except TransportException, e:
print "Error on read: %s" % e
self.read_done = True
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org