Gio.Application::shutdown

connect('shutdown', function (application, ): void);
  

The ::shutdown signal is emitted only on the registered primary instance immediately after the main loop terminates.

application

instance of Gio.Application that is emitting the signal