Skip to content
Snippets Groups Projects
Commit c40dfe38 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix traceback at end of file transfer. Fixes #8932

parent d2eeceb7
No related branches found
No related tags found
No related merge requests found
...@@ -423,7 +423,7 @@ class SocksQueue: ...@@ -423,7 +423,7 @@ class SocksQueue:
connections with 1 connections with 1
""" """
if idx != -1: if idx != -1:
for key in self.senders.keys(): for key in list(self.senders.keys()):
if idx in key: if idx in key:
self.remove_sender_by_key(key, do_disconnect=do_disconnect) self.remove_sender_by_key(key, do_disconnect=do_disconnect)
if not remove_all: if not remove_all:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment