We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd9bcfd commit ccc5fafCopy full SHA for ccc5faf
packages/core/src/robotcode/core/event.py
@@ -65,7 +65,7 @@ def __bool__(self) -> bool:
65
return len(self._listeners) > 0
66
67
def __iter__(self) -> Iterator[Callable[_TParams, _TResult]]:
68
- for r in self._listeners:
+ for r in list(self._listeners):
69
c = r()
70
if c is not None:
71
yield c
0 commit comments