mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
Rename LoopDestroyed to LoopExiting
Considering the possibility of re-running an event loop via run_ondemand then it's more correct to say that the loop is about to exit without assuming it's going to be destroyed.
This commit is contained in:
@@ -684,7 +684,7 @@ impl<T: 'static> EventLoop<T> {
|
||||
};
|
||||
|
||||
event_handler(
|
||||
event::Event::LoopDestroyed,
|
||||
event::Event::LoopExiting,
|
||||
&self.window_target,
|
||||
&mut control_flow,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user