care for threading module being set to None already during finalization
--HG-- branch : trunk
This commit is contained in:
parent
c3a6fbd8d7
commit
541b35270f
|
@ -167,6 +167,7 @@ class Gateway(object):
|
||||||
except IOError:
|
except IOError:
|
||||||
self._trace('IOError on _stopsend()')
|
self._trace('IOError on _stopsend()')
|
||||||
self._channelfactory._finished_receiving()
|
self._channelfactory._finished_receiving()
|
||||||
|
if threading: # might be None during shutdown/finalization
|
||||||
self._trace('leaving %r' % threading.currentThread())
|
self._trace('leaving %r' % threading.currentThread())
|
||||||
|
|
||||||
from sys import exc_info
|
from sys import exc_info
|
||||||
|
|
Loading…
Reference in New Issue