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:
parent
5b8f5cb54a
commit
ee3ab33a7c
7 changed files with 12 additions and 21 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue