[svn r57544] still notify callbacks if we can't send to the other side anymore.
--HG-- branch : trunk
This commit is contained in:
parent
a999dc8472
commit
9b81b15b74
|
@ -136,8 +136,14 @@ class Gateway(object):
|
|||
self._traceex(exc_info())
|
||||
break
|
||||
finally:
|
||||
# XXX we need to signal fatal error states to
|
||||
# channels/callbacks, particularly ones
|
||||
# where the other side just died.
|
||||
self._stopexec()
|
||||
self._stopsend()
|
||||
try:
|
||||
self._stopsend()
|
||||
except IOError:
|
||||
self._trace('IOError on _stopsend()')
|
||||
self._channelfactory._finished_receiving()
|
||||
self._trace('leaving %r' % threading.currentThread())
|
||||
|
||||
|
|
Loading…
Reference in New Issue