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:
parent
755c533b08
commit
935146d299
15 changed files with 28 additions and 30 deletions
|
|
@ -585,7 +585,7 @@ impl<T: 'static> EventLoop<T> {
|
|||
|
||||
let mut dummy = self.control_flow;
|
||||
sticky_exit_callback(
|
||||
event::Event::LoopDestroyed,
|
||||
event::Event::LoopExiting,
|
||||
self.window_target(),
|
||||
&mut dummy,
|
||||
&mut callback,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue