Skip to content

Comments

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

Merged
cnstoll merged 1 commit intomutualmobile:masterfrom
swapsjadhav:master
May 8, 2013
Merged

This pull request contains fix to MMRecord batch request issue#10
cnstoll merged 1 commit intomutualmobile:masterfrom
swapsjadhav:master

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