winit/examples
Mads Marquart afb731bb52
Drop application handler on run loop exit (#4149)
Calling the `Drop` impl of the user's `ApplicationHandler` is important on
iOS and Web, since they don't return from `EventLoop::run_app`.

And now that we reliably call `Drop`, the `ApplicationHandler::exited`
event/callback is unnecessary; using `Drop` composes much better (open files
etc. stored in the app state will be automatically flushed), and prevents
weirdness like attempting to create a new window while exiting.
2025-03-17 10:56:00 +01:00
..
data Deprecate window creation with stale event loop 2024-02-21 14:44:29 +04:00
util Fix a pause in the event loop when clicking the title bar on windows (#4136) 2025-03-17 02:27:27 +01:00
application.rs Drop application handler on run loop exit (#4149) 2025-03-17 10:56:00 +01:00
child_window.rs Properly implement Debug for Window and EventLoop types (#3297) 2025-03-03 08:40:04 +01:00
control_flow.rs Properly implement Debug for Window and EventLoop types (#3297) 2025-03-03 08:40:04 +01:00
dnd.rs Properly implement Debug for Window and EventLoop types (#3297) 2025-03-03 08:40:04 +01:00
pump_events.rs Properly implement Debug for Window and EventLoop types (#3297) 2025-03-03 08:40:04 +01:00
run_on_demand.rs Properly implement Debug for Window and EventLoop types (#3297) 2025-03-03 08:40:04 +01:00
window.rs Drop application handler on run loop exit (#4149) 2025-03-17 10:56:00 +01:00
x11_embed.rs Properly implement Debug for Window and EventLoop types (#3297) 2025-03-03 08:40:04 +01:00