You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 3.12 failed occasionally with this error:
```
@panopticon()
def stop(self) -> None:
"""Stop this Tracer."""
if not self.sysmon_on:
# In forking situations, we might try to stop when we are not
# started. Do nothing in that case.
return
assert sys_monitoring is not None
sys_monitoring.set_events(self.myid, 0)
> for code in self.local_event_codes.values():
E RuntimeError: dictionary changed size during iteration
```
By setting self.sysmon_on=False before iteration, we lessen the chance
of adding an item to the dict during the iteration.
0 commit comments