ElectronApp.quit method
ElectronApp › quit
Unofficial
Tries to close all windows. Thebefore-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(): voidReturns: void