AFNetworking/AFNetworking — comment on commit a9123824312753d5aad10a892614c3d5cd7a70ee
File:  line 0
By raycmorgan:

Every so often I am experiencing a crash that I believe is related to this change.

*** -[NSURLConnection cancel]: message sent to deallocated instance 0x62657d0

On line 303: [self.connection cancel];

I think the proper thing is to retain the connection, and then release it after canceling it/completing the connection. Going to play around with it a bit and will let you know. It is hard to reproduce though.