Web: queue EventLoopProxy::send_event() to microtask
This commit is contained in:
parent
9a1ef49dc3
commit
9522670081
3 changed files with 92 additions and 34 deletions
|
|
@ -40,6 +40,16 @@ changelog entry.
|
|||
|
||||
## Unreleased
|
||||
|
||||
### Changed
|
||||
|
||||
- On Web, let events wake up event loop immediately when using
|
||||
`ControlFlow::Poll`.
|
||||
|
||||
### Fixed
|
||||
|
||||
- On Web, fix `EventLoopProxy::send_event()` triggering event loop immediately
|
||||
when not called from inside the event loop. Now queues a microtask instead.
|
||||
|
||||
### Removed
|
||||
|
||||
- Remove `EventLoop::run`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue