[oden] Main thread wait
This commit is contained in:
parent
b1b97cee75
commit
b149b28f31
1 changed files with 1 additions and 1 deletions
|
|
@ -548,7 +548,7 @@ pub async fn run() {
|
||||||
});
|
});
|
||||||
|
|
||||||
event_loop.run(move |event, _, control_flow| {
|
event_loop.run(move |event, _, control_flow| {
|
||||||
control_flow.set_poll();
|
control_flow.set_wait();
|
||||||
|
|
||||||
if let Some(e) = event.to_static() {
|
if let Some(e) = event.to_static() {
|
||||||
sender
|
sender
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue