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

Initialize city_dialog::pcity #1267

Merged
merged 1 commit into from
Aug 14, 2022

Conversation

lmoureaux
Copy link
Contributor

I encountered a class of crashes where city_dialog::pcity was garbage. Make
sure that it's always nullptr while the city screen is hidden.

Testing

Zoom in and out many times while also constantly switching player. master crashes occasionally, this patch prevents the crash.

I encountered a class of crashes where city_dialog::pcity was garbage. Make
sure that it's always nullptr while the city screen is hidden.
@lmoureaux lmoureaux requested a review from jwrober August 14, 2022 02:20
Copy link
Collaborator

@jwrober jwrober left a comment

Choose a reason for hiding this comment

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

I can't recreate the bug with this patch

@jwrober jwrober merged commit 5be8582 into longturn:master Aug 14, 2022
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