mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
linux - electron app when close window dont finish all process #295
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rrc845 on GitHub (Mar 25, 2019).
Originally assigned to: @GregorBiswanger on GitHub.
Hi, when i run the electron app, and i close the window, dont close all process, for example, if i run it with terminal, in the terminal the process still running.
But in Window, this dont happens. You can help me pls.
A kind regards.
@GregorBiswanger commented on GitHub (May 16, 2019):
This is the normal electron architecture. You have a main process and a renderer process. Each window runs on the renderer process. The main process continues. It may be that your application does not need active windows.
The following command ends everything:
Electron.App.WindowAllClosed += () => Electron.App.Exit();