Make a copy of the RootActions in TestCase.validate_eventids()

Otherwise the next call to controller.GetRootActions() will return an empty list
This commit is contained in:
Jake Turner
2026-04-28 13:12:18 +01:00
parent d0b69c7034
commit fcebc9cebb
+1 -1
View File
@@ -1166,7 +1166,7 @@ class TestCase:
return True
def validate_eventids(self, controller: rd.ReplayController) -> bool:
actions = controller.GetRootActions()
actions = controller.GetRootActions().copy()
eventIds = set()
maxEventId = 0
while len(actions) > 0: