Exceptions during splash screen / net core startup do not exit electron process #408

Open
opened 2026-01-29 16:38:53 +00:00 by claunia · 0 comments
Owner

Originally created by @ErikApption on GitHub (Nov 6, 2019).

Originally assigned to: @GregorBiswanger on GitHub.

  • Version: 5.30.1

.net core 3.0 - no node js

  • Target: windows

Steps to Reproduce:

  1. App with long startup (~10s)
  2. Exceptions during startup leave the splash screen open and electron processes have to be manually killed

I tried doing a try/catch with Electron.App.Exit() but this did not close the electron process with the splash screen...

Originally created by @ErikApption on GitHub (Nov 6, 2019). Originally assigned to: @GregorBiswanger on GitHub. <!-- Which version of Electron.NET CLI and API are you using? --> <!-- Please always try to use latest version before report. --> * **Version**: 5.30.1 <!-- Which version of .NET Core and Node.js are you using (if applicable)? --> .net core 3.0 - no node js <!-- What target are you building for? --> * **Target**: windows <!-- Enter your issue details below this comment. --> Steps to Reproduce: 1. App with long startup (~10s) 2. Exceptions during startup leave the splash screen open and electron processes have to be manually killed I tried doing a try/catch with Electron.App.Exit() but this did not close the electron process with the splash screen...
claunia added the bug label 2026-01-29 16:38:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#408