Application.addOnShutdown

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

class Application
addOnShutdown

Meta