Suppress error on releasing unlocked lock
This commit is contained in:
parent
e82e33fa51
commit
ec68146135
|
@ -76,7 +76,10 @@ class outgoingSynSender(threading.Thread, StoppableThread):
|
||||||
time.time())
|
time.time())
|
||||||
shared.alreadyAttemptedConnectionsListLock.acquire()
|
shared.alreadyAttemptedConnectionsListLock.acquire()
|
||||||
shared.alreadyAttemptedConnectionsList[peer] = 0
|
shared.alreadyAttemptedConnectionsList[peer] = 0
|
||||||
|
try:
|
||||||
shared.alreadyAttemptedConnectionsListLock.release()
|
shared.alreadyAttemptedConnectionsListLock.release()
|
||||||
|
except ThreadError as e:
|
||||||
|
pass
|
||||||
self.name = "outgoingSynSender-" + peer.host
|
self.name = "outgoingSynSender-" + peer.host
|
||||||
if peer.host.find(':') == -1:
|
if peer.host.find(':') == -1:
|
||||||
address_family = socket.AF_INET
|
address_family = socket.AF_INET
|
||||||
|
|
Reference in New Issue
Block a user