Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
hakolao committed Feb 18, 2024
1 parent 7b4c44b commit c803470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/glass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ impl Glass {

if runner_state.request_window_close || context.exit {
for window in runner_state.remove_windows.iter() {
context.windows.remove(window);
context.windows.swap_remove(window);
}
runner_state.remove_windows.clear();
runner_state.request_window_close = false;
Expand Down

0 comments on commit c803470

Please sign in to comment.