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

Add some excessive null checks to GameScreen::render() #13076

Merged
merged 1 commit into from
Jun 30, 2020

Conversation

hrydgard
Copy link
Owner

Maybe will fix the crash seen in #13057...

@hrydgard hrydgard added this to the v1.10.1 milestone Jun 29, 2020
if (info && !info->pending) {
otherChoices_.clear();
}
otherChoices_.clear();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah, maybe this was it. If otherChoices were added before somehow, and the cache was cleared (can an app switch do that?), then we might have stale but deleted pointers there.

-[Unknown]

@unknownbrackets unknownbrackets merged commit 1943722 into master Jun 30, 2020
@hrydgard hrydgard deleted the gamescreen-render-paranoia branch October 4, 2020 12:01
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.

2 participants