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

Missing emake Crash Fix #48

Merged
merged 1 commit into from Nov 13, 2018
Merged

Missing emake Crash Fix #48

merged 1 commit into from Nov 13, 2018

Conversation

RobertBColton
Copy link
Contributor

@RobertBColton RobertBColton commented Nov 12, 2018

I have already noticed and people have already mentioned the latest RGM crashes a few seconds after open if emake is not found. This is because the ResourceReader has its finished() called without its started() ever being called in the case that emake is not found. The CodeWidget::finalizeKeywords is where the crash occurs because CodeWidget::prepareKeywordStore was not called to allocate and prepare sciApis to be used.

This change fixes the crash by making all of the keyword API just be a noop if sciApis wasn't allocated. I've also additionally added another directory where emake can be found, an enigma-dev folder directly next to the RGM executable.

@RobertBColton RobertBColton merged commit cd8ff62 into master Nov 13, 2018
@RobertBColton RobertBColton deleted the missing-emake-crash-fix branch November 13, 2018 01:39
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