The cpu/memeory generators intermittently crashed in the load update timeout handler due to accessing a results object previously deleted by stop().
The issue appears to have been caused because the event loop may still dispatch pending events after they have been deleted from the event loop in an event handler because they aren't actually removed until later.
This change fixes the issue by marking the events as deleted so they can be ingored until they can be safely removed.
The cpu/memeory generators intermittently crashed in the load update timeout handler due to accessing a results object previously deleted by stop().
The issue appears to have been caused because the event loop may still dispatch pending events after they have been deleted from the event loop in an event handler because they aren't actually removed until later.
This change fixes the issue by marking the events as deleted so they can be ingored until they can be safely removed.
This change is