You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
27.0.2
What operating system are you using?
Windows
Operating System Version
Windows 10 Enterprise 22H2 19045.3693
What arch are you using?
x64
Last Known Working Electron version
n/a
Expected Behavior
If an error occurs while loading the main package an error message should be displayed and the app must exit with an error code.
Actual Behavior
If an error occurs while loading the main package an error message is displayed but the app contunues to run. In windows taskmanager several task 'name_of_the_app.exe' keep runing, even if the error panel is closed by hitting 'OK'.
Testcase Gist URL
No response
Additional Information
I guess the issue could be resolved by modifying code in
jkleinsc
changed the title
[Bug]: App instance not exiting when main package throws error on load
[Feature Request]: Exit App instance when main package throws error on load
Jan 9, 2024
Preflight Checklist
Electron Version
27.0.2
What operating system are you using?
Windows
Operating System Version
Windows 10 Enterprise 22H2 19045.3693
What arch are you using?
x64
Last Known Working Electron version
n/a
Expected Behavior
If an error occurs while loading the main package an error message should be displayed and the app must exit with an error code.
Actual Behavior
If an error occurs while loading the main package an error message is displayed but the app contunues to run. In windows taskmanager several task 'name_of_the_app.exe' keep runing, even if the error panel is closed by hitting 'OK'.
Testcase Gist URL
No response
Additional Information
I guess the issue could be resolved by modifying code in
electron/default_app/main.ts
Line 140 in 79e714a
Current code:
Fixed code:
The text was updated successfully, but these errors were encountered: