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