Opened 5 years ago
Closed 5 years ago
#3317 closed bug (Fixed)
dictionary changed size during iteration
Reported by: | JohnDoee | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.4 |
Component: | Core | Version: | 2.0.0 |
Keywords: | Cc: |
Description
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.
Change History (2)
comment:1 by , 5 years ago
Milestone: | needs verified → 2.0.4 |
---|
comment:2 by , 5 years ago
Resolution: | → Fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in [ed4bc5fa17ec5]