Skip to content

ElectronApp.quit method

ElectronApp › quit

Unofficial

Tries to close all windows. The before-quit event is emitted first; if all windows are successfully closed, the will-quit event is emitted and by default the application terminates.

Signature:

quit(): void

Returns: void