Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove event loop spamming when new event arrives (#167)
`new_event` method is called when a new event arrives on an event loop. Putting new event (in this case `BlitzEvent::Poll`) on the same event loop from this method causes this method to be called again. This ends up spamming event loop, 100% CPU utilization on some operating systems, and makes the `poll` "spin".
- Loading branch information