Gio.Application.prototype.quit

function quit(): void {
    // Gjs wrapper for g_application_quit()
}
  

Immediately quits the application.

Upon return to the mainloop, Gio.Application.prototype.run will return, calling only the 'shutdown' function before doing so.

The hold count is ignored.

The result of calling Gio.Application.prototype.run again after it returns is unspecified.

Since 2.32