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

Only show the session launch failure page when workbench doesn't init #5580

Merged
merged 1 commit into from Oct 17, 2019

Conversation

jmcphers
Copy link
Member

We currently show the "R failed to launch" error screen whenever R barfs (and it wasn't a quit). This is overly aggressive since R may very well have started up fine but then barfed while running.

To distinguish these cases, this change keeps track of whether the workbench was initialized since the most recent session launch. Once the workbench has initialized, we no longer treat an R crash/failure as a launch failure.

Copy link
Contributor

@kevinushey kevinushey left a comment

Choose a reason for hiding this comment

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

LGTM!

@jmcphers jmcphers merged commit 4a21a9c into master Oct 17, 2019
@valerie-rstudio valerie-rstudio deleted the bugfix/workbench-init-crash branch January 21, 2022 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants