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

fix crash on iOS 13 #33154

Merged
merged 1 commit into from Nov 5, 2019
Merged

fix crash on iOS 13 #33154

merged 1 commit into from Nov 5, 2019

Conversation

ealataur
Copy link
Contributor

@ealataur ealataur commented Oct 29, 2019

Fix crash on iOS 13 when app go to background and back it from

Bugsquad edit: Fixes #7966.

@akien-mga
Copy link
Member

Could you rebase the branch to remove the unnecessary merge commit? (just git pull --rebase upstream master should be sufficient if you have upstream pointing to godotengine/godot). See https://docs.godotengine.org/en/3.1/community/contributing/pr_workflow.html#mastering-the-pr-workflow-the-rebase

@akien-mga
Copy link
Member

Still needs a rebase to squash commits, otherwise changes seem OK if others can confirm that it fixes the bug without introducing performance regressions.

@gerald1248
Copy link

@akien-mga which benchmark should we use? I have built iphone.zip with and without the change. I'm happy to run a comparison.

I'm not 100% confident performance is the same (I get weird dropped frames sometimes, but perhaps they were an issue before and I didn't notice?) but the thing is that this addresses a bug that's pretty serious. Every Godot app on iOS13 crashes every time it is closed.

@akien-mga
Copy link
Member

Pushed a rebased commit that should be fine to merge.

which benchmark should we use? I have built iphone.zip with and without the change. I'm happy to run a comparison.

I'm not sure, but I guess the changes should be fine. The only performance-impacting change now is the reintroduction of the [drawView] call, which was removed in #32194 but this was likely not the right fix for the bug it tried to address (this PR looks like it might be).

@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.1.2.

@akien-mga
Copy link
Member

Cherry-picked for 3.0.7.

@dylantmarsh
Copy link

I am experiencing this crash with 3.2 beta 5 on iOS 13.1.1

@akien-mga
Copy link
Member

Please open a new bug report.

@pchasco
Copy link

pchasco commented May 27, 2020

This commit appears to correct the same issue for the 2.1.X branch.

@akien-mga
Copy link
Member

Cherry-picked for 2.1.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash on exit iOS application when using iOS 13
5 participants