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

Crashes when sending event within example iphone project #1

Closed
avocade opened this issue Nov 25, 2010 · 2 comments
Closed

Crashes when sending event within example iphone project #1

avocade opened this issue Nov 25, 2010 · 2 comments

Comments

@avocade
Copy link
Contributor

avocade commented Nov 25, 2010

Due to non-nil:ed out NSError in PTPusherClientOperation#main, sends garbage value to delegate if doesn't get proper error object back from [NSURLConnection sendSynchronousRequest]. Easy fix:

NSError *error = nil;

Good idea to always nil out objects before use.

Great lib, thanks!

@lukeredpath
Copy link
Contributor

Applied, thanks.

@avocade
Copy link
Contributor Author

avocade commented Dec 7, 2010

Great, thanks.

This issue was closed.
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

No branches or pull requests

2 participants