Yann Leboulanger pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/common/socks5.py
    ... ... @@ -423,7 +423,7 @@ class SocksQueue:
    423 423
             connections with 1
    
    424 424
             """
    
    425 425
             if idx != -1:
    
    426
    -            for key in self.senders.keys():
    
    426
    +            for key in list(self.senders.keys()):
    
    427 427
                     if idx in key:
    
    428 428
                         self.remove_sender_by_key(key, do_disconnect=do_disconnect)
    
    429 429
                         if not remove_all: