Skip to content

API Reference / @gtkx/runtime / quitApplication

Variable: quitApplication

const quitApplication: (application) => void

Defined in: runtime/dist/lifecycle.d.ts:40

Closes all of the application's windows and drives its main loop until it quits, so pending shutdown work can complete before the process exits.

Parameters

application

ApplicationLike

The application to shut down.

Returns

void

Released under the MPL-2.0 License.