mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
Remove internal ActiveEventLoop::clear_exit
How to store and clear the internal state should be internal to the implementation on each backend.
This commit is contained in:
@@ -425,6 +425,7 @@ impl EventLoop {
|
||||
&mut self,
|
||||
mut app: A,
|
||||
) -> Result<(), EventLoopError> {
|
||||
self.window_target.p.clear_exit();
|
||||
loop {
|
||||
match self.pump_app_events(None, &mut app) {
|
||||
PumpStatus::Exit(0) => {
|
||||
|
||||
Reference in New Issue
Block a user