Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[rqd] Avoid changing dict in place during iteration #1554

Conversation

DiegoTavares
Copy link
Collaborator

Deleting an item from the dict being iterated over on sanitizeFrames caused the error: "Dictionary changed size during iteration".

Deleting an item from the dict being iterated over on sanitizeFrames caused the error: "Dictionary changed size during iteration".
@DiegoTavares DiegoTavares marked this pull request as ready for review October 23, 2024 15:19
@DiegoTavares DiegoTavares merged commit f7244dd into AcademySoftwareFoundation:master Oct 24, 2024
12 checks passed
DiegoTavares added a commit to DiegoTavares/OpenCue that referenced this pull request Oct 28, 2024
…oundation#1554)

Deleting an item from the dict being iterated over on sanitizeFrames
caused the error: "Dictionary changed size during iteration".
DiegoTavares pushed a commit that referenced this pull request Oct 31, 2024
**Link the Issue(s) this Pull Request is related to.**
This fixes an bug introduced with #1554 

**Summarize your change.**
It fixes a small bug that hinders `rqd` to actually run any jobs. It
probably didn't get chaught due to the unittests for rqd not working
properly.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants