Skip to content

Fix faulted zones clearing iteration logic - #77

Merged
ajschmidt8 merged 1 commit into
nutechsoftware:masterfrom
edrikk:master
Mar 9, 2025
Merged

ajschmidt8 merged 1 commit into
nutechsoftware:masterfrom
edrikk:master

Conversation

@edrikk

@edrikk edrikk commented Feb 25, 2025

Copy link
Copy Markdown
Contributor

As provided by warthog618 in #54

The restoration based on message.ready is buggy as it iterates over a list it is deleting from. which results in only half the faulted zones being cleared. The fix is to iterate over a copy of the list.

I have been running this fix without issue for several months.

As provided by warthog618 in nutechsoftware#54

The restoration based on message.ready is buggy as it iterates over a list it is deleting from.  which results in only half the faulted zones being cleared.  The fix is to iterate over a copy of the list.
@ajschmidt8
ajschmidt8 merged commit 293eed3 into nutechsoftware:master Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants