Skip to content

Commit

Permalink
Cleanup routine
Browse files Browse the repository at this point in the history
  • Loading branch information
rgc99 committed Nov 26, 2023
1 parent 250cde8 commit 87c1ebd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2835,9 +2835,9 @@ def clear_runs(self) -> bool:
while i >= 0:
sqr = self[i]
if not (sqr.is_manual() or sqr.running):
sqr = self.pop(i)
for run in sqr.runs:
for run in list(sqr.runs):
run.zone.runs.remove_run(run)
self.pop(i)
modified = True
i -= 1
if modified:
Expand Down

0 comments on commit 87c1ebd

Please sign in to comment.