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

This pull request contains fix to MMRecord batch request issue #10

Merged
merged 1 commit into from
May 8, 2013

Conversation

swapsjadhav
Copy link

Problem : "startBatchedRequest.." method is failing to call completionBlock(), when one/all of the API call gets failed.
Solution: I gone through the MMRecord batch request code and found that MMRecord is not calling "dispatch_group_leave(state.dispatchGroup);" in faillure block. In this pull request I have added code which informs the DispatchGroup that task has been completed by calling "dispatch_group_leave", this way completionBlock() is getting called when all of its batch request completes their execution regardless of their results.

cnstoll added a commit that referenced this pull request May 8, 2013
This pull request contains fix to MMRecord batch request issue
@cnstoll cnstoll merged commit 8c89297 into mutualmobile:master May 8, 2013
@cnstoll
Copy link
Contributor

cnstoll commented May 8, 2013

Awesome!! 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.

2 participants