reactor.iterate() in dht shutdown
-fixes enigmatic `’Port' object has no attribute 'socket’` error
This commit is contained in:
parent
ec4f9011b9
commit
f9fef3d586
1 changed files with 1 additions and 0 deletions
|
@ -321,3 +321,4 @@ class KademliaProtocol(protocol.DatagramProtocol):
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
log.exception('Failed to cancel %s', self._callLaterList[key])
|
log.exception('Failed to cancel %s', self._callLaterList[key])
|
||||||
del self._callLaterList[key]
|
del self._callLaterList[key]
|
||||||
|
reactor.iterate()
|
||||||
|
|
Loading…
Reference in a new issue