mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-16 13:01:04 +02:00
Fix close peer socket on connection failure (#1086)
This commit is contained in:
parent
2db3b47cb1
commit
2aec5a58f8
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ class Connection(object):
|
|||
finally:
|
||||
logger.info("Removing peer.")
|
||||
connection_manager.remove_peer(self.peer)
|
||||
self.peer.stop()
|
||||
|
||||
def handle_connection(self):
|
||||
self.initial_sync()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue