WindowDestroyed
WindowDestroyed
- window : bevy_ecs::entity::Entity
Description
An event that is sent whenever a window is destroyed by the underlying window system.
Note that if your application only has a single window, this event may be your last chance to persist state before the application terminates.