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 resulting from failure to guard against nil completion handler #3

Merged
merged 1 commit into from Apr 2, 2015

Conversation

jnic
Copy link
Contributor

@jnic jnic commented Apr 1, 2015

The addition of an unguarded completion handler in the 0.4 release results in a crash (EXC_BAD_ACCESS) when the completion handler is nil (i.e. the default when not using the new method).

This PR adds a nil check to guard against this.

@andreamazz
Copy link
Owner

I could've swore that I added the check after pulling the last PR. I'm getting old 👴
Thanks, merged. 👍

andreamazz added a commit that referenced this pull request Apr 2, 2015
Fix crash resulting from failure to guard against nil completion handler
@andreamazz andreamazz merged commit ef98335 into andreamazz:master Apr 2, 2015
@jnic
Copy link
Contributor Author

jnic commented Apr 2, 2015

Thanks! 👍

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