#3317: dictionary changed size during iteration ----------------------------+------------------- Reporter: JohnDoee | Type: bug Status: new | Priority: minor Milestone: needs verified | Component: Core Version: 2.0.0 | Keywords: ----------------------------+------------------- In my own plugin I create a server using reactor.listenTCP and in the disable function, I run "stopListening" to clean up.
When the plugin is loaded and I shut down Deluge, I get the "dictionary changed size during iteration" exception. The problem stems from this line: https://github.com/deluge- torrent/deluge/blob/develop/deluge/component.py#L451 If I change self.components.values() to list(self.components.values()) it all goes away. -- Ticket URL: <https://dev.deluge-torrent.org/ticket/3317> Deluge <https://deluge-torrent.org/> Deluge Project -- You received this message because you are subscribed to the Google Groups "Deluge Dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/deluge-dev/047.14cb6271187796cf95f45ce7cc14b66b%40deluge-torrent.org.
