We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95b8299 commit a4efc83Copy full SHA for a4efc83
src/main.rs
@@ -23,6 +23,6 @@ pub fn main() {
23
}
24
25
async fn run(event_loop: EventLoop<()>, window: Arc<Window>) {
26
- let mut app = pollster::block_on(App::new(window));
+ let mut app = App::new(window).await;
27
let _ = event_loop.run_app(&mut app);
28
0 commit comments