Skip to content

fix(router): Occasional crash in NSRouteReuseStrategy.shouldAttach() #1218

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

Closed
wants to merge 1 commit into from

Conversation

gsmedley
Copy link

@gsmedley gsmedley commented Mar 3, 2018

PR Checklist

What is the current behavior?

Crash when using back button, see #1048.

What is the new behavior?

Copy the same check used in the retrieve() method into the shouldAttach() method

Fixes #1048.

using the same check for an empty cache as used in the retrieve() method.
@ns-bot
Copy link

ns-bot commented Mar 3, 2018

Can one of the admins verify this patch?

2 similar comments
@ns-bot
Copy link

ns-bot commented Mar 3, 2018

Can one of the admins verify this patch?

@ns-bot
Copy link

ns-bot commented Mar 3, 2018

Can one of the admins verify this patch?

@ghost ghost added the ♥ community PR label Mar 3, 2018
@gsmedley gsmedley changed the title fix(router): switch contentInsetAdjustmentBehavior on ScrollView fix(router): Occasional crash in NSRouteReuseStrategy.shouldAttach() Mar 3, 2018
@gsmedley gsmedley closed this Mar 24, 2018
@ghost ghost removed the ♥ community PR label Mar 24, 2018
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