Application.quit

Immediately quits the application.

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

The hold count is ignored. Take care if your code has called Application.hold on the application and is therefore still expecting it to exist. (Note that you may have called Application.hold indirectly, for example through Application.addWindow.)

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

class Application
void
quit
()

Meta

Since

2.32