add back in some error handling
This commit is contained in:
parent
6b96dc62b0
commit
d4271d0428
|
@ -287,14 +287,13 @@ class receiveDataThread(QThread):
|
|||
except Exception, err:
|
||||
print 'Within receiveDataThread run(), self.sock.close() failed.', err
|
||||
|
||||
#try:
|
||||
try:
|
||||
del selfInitiatedConnections[self.streamNumber][self]
|
||||
#self.selfInitiatedConnectionList.remove(self)
|
||||
printLock.acquire()
|
||||
print 'removed self (a receiveDataThread) from ConnectionList'
|
||||
printLock.release()
|
||||
#except:
|
||||
# pass
|
||||
except:
|
||||
pass
|
||||
broadcastToSendDataQueues((0, 'shutdown', self.HOST))
|
||||
if self.connectionIsOrWasFullyEstablished: #We don't want to decrement the number of connections and show the result if we never incremented it in the first place (which we only do if the connection is fully established- meaning that both nodes accepted each other's version packets.)
|
||||
connectionsCountLock.acquire()
|
||||
|
|
Loading…
Reference in New Issue
Block a user