Application.quit
void quit()Immediately quits the application.
Upon return to the mainloop, [gio.application.Application.run] will return, calling only the 'shutdown' function before doing so.
The hold count is ignored. Take care if your code has called [gio.application.Application.hold] on the application and is therefore still expecting it to exist. (Note that you may have called [gio.application.Application.hold] indirectly, for example through [gtk.application.Application.addWindow].)
The result of calling [gio.application.Application.run] again after it returns is unspecified.