program ended event
The ended event is emitted when the program is ended by closing the application window