Skip to main content

Function: setAppIsQuitting()

function setAppIsQuitting(
isQuitting: boolean,
options?: StateUpdateOptions
): void;

Defined in: main/state/appState.ts:257

Sets the main process shutdown flag.

Parameters​

isQuitting​

boolean

True when the app shutdown lifecycle has started.

options?​

StateUpdateOptions

Additional metadata forwarded to the state manager.

Returns​

void