RestKit/RestKit — pull request #721 by cfis (2012-05-07 03:37:21+00:00)
Title: Always call objectLoaderDidFinishLoading

As part of our RKObjectLoaderDelegate, we rely on objectLoaderDidFinishLoading to do some house cleaning. objectLoaderDidFinishLoading is called whether a request is a success or failure, except in one case. This commit fixes that case.

The case happens when a failure occurs in processMappingResult. On success, processMappingResult already indirectly calls objectLoaderDidFinishLoading. This patch simply also calls it when a failure occurs. The end result is that objectLoaderDidFinishLoading is always called.

Let me know if you have questions

Thanks - Charlie