Skip to content

API Reference / @gtkx/runtime / quit

Variable: quit ​

const quit: () => void

Defined in: packages/runtime/src/lifecycle.ts:12

Runs every registered exit callback, disposes the objects that only JavaScript still references while their JavaScript vfuncs and signal handlers can still run, and shuts down the native runtime. Safe to call more than once; only the first call takes effect.

Returns ​

void