Fix reset to Poll after the event loop starts
This commit is contained in:
parent
0960635895
commit
42c9b7e40e
9 changed files with 13 additions and 40 deletions
|
|
@ -115,7 +115,7 @@ impl<T> EventLoopRunner<T> {
|
|||
interrupt_msg_dispatch,
|
||||
runner_state,
|
||||
panic_error,
|
||||
control_flow,
|
||||
control_flow: _,
|
||||
exit,
|
||||
last_events_cleared: _,
|
||||
event_handler,
|
||||
|
|
@ -124,7 +124,6 @@ impl<T> EventLoopRunner<T> {
|
|||
interrupt_msg_dispatch.set(false);
|
||||
runner_state.set(RunnerState::Uninitialized);
|
||||
panic_error.set(None);
|
||||
control_flow.set(ControlFlow::default());
|
||||
exit.set(None);
|
||||
event_handler.set(None);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue