Opened 16 years ago
Last modified 13 years ago
#11134 closed
Signals don't work properly when they are being disconnected during their processing — at Initial Version
Reported by: | Honza Král | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This happens because disconnect()
method does del self.receivers[index]
while self.receivers
are eing iterated over in _live_receivers()
.
The attached patch has tests and a fix, the tests fail for me without the fix, passes after the fix is applied.
Note:
See TracTickets
for help on using tickets.