egui/crates/eframe/src
Stephen M. Coakley 486cff8ac3
Fix panic with persistence without window (#3167)
A window may not always be available and may have already been closed by the time an eframe app is closing. An example of this is Android, where the main activity window may have been stopped or discarded because the app is no longer in the foreground, and then the user decides to close your app without resuming it using the multitasking view.

In this case, skip the window persistence step if it does not exist anymore by the time we are saving the persistence data. Currently eframe will panic with `winit window doesn't exist` instead.
2023-08-09 12:42:43 +02:00
..
epi fix typo in NativeOptions docs (#3108) 2023-07-26 18:59:49 +02:00
native Fix panic with persistence without window (#3167) 2023-08-09 12:42:43 +02:00
web eframe web: detect and report panics during startup (#2992) 2023-05-16 22:22:09 +02:00
lib.rs Cleanup ahead of release 2023-05-23 19:53:32 +02:00