Skip to content

ElectronBrowserWindow.destroy method

ElectronBrowserWindow › destroy

Unofficial

Force-closes the window; the unload and beforeunload events won't be emitted, but closed is guaranteed.

Signature:

destroy(): void

Returns: void