ElectronApp.exit method
ElectronApp › exit
Unofficial
Exits immediately withexitCode. All windows are closed immediately without asking the user, and the before-quit and will-quit events are not emitted. Signature:
exit(exitCode?: number | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| exitCode? | number | undefined | The exit code. |
Returns: void