Skip to content

Commit

Permalink
Fix main window not closing in multi-window runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed May 16, 2024
1 parent e69e2c0 commit fb23e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winit/src/multi_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ async fn run_instance<A, E, C>(

let _ = window_manager.insert(
window::Id::MAIN,
main_window.clone(),
main_window,
&application,
&mut compositor,
exit_on_close_request,
Expand Down

0 comments on commit fb23e4c

Please sign in to comment.