Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quit Electron app when back end fails to start. Fixes #12769 #12778

Merged

Conversation

tsmaeder
Copy link
Contributor

What it does

When the back end process fails to start for some reason, the Electron process hangs with no Windows visible. This PR does an app.quit in electron if the back end process fails to start.

Fixes #12769

Contributed on behalf of STMicroelectronics

How to test

Start the electron version with a bogus parameter, for example yarn electron start --log-level=Gurkensalat. Make sure you get back to the command prompt. Make sure the same command line works for correct cmd line argments.

Review checklist

Reminder for reviewers

@tsmaeder tsmaeder requested a review from msujew July 28, 2023 08:50
…2769

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
@tsmaeder tsmaeder force-pushed the 12769_quit_on_backend_problem branch from 3f8c4db to a99f85d Compare July 28, 2023 08:53
Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@tsmaeder tsmaeder merged commit c3fa920 into eclipse-theia:master Aug 1, 2023
6 checks passed
@vince-fugnitto vince-fugnitto added the electron issues related to the electron target label Aug 31, 2023
@vince-fugnitto vince-fugnitto added this to the 1.41.0 milestone Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electron issues related to the electron target
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Theia Electron Hangs When Backend Exits without Error
4 participants