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

Multithreading Concurrency Violation Fix while merge #83

Merged
merged 3 commits into from
Jun 2, 2016

Conversation

saurabytes
Copy link
Collaborator

@saurabytes saurabytes commented Jun 1, 2016

Pull request checklist

What's in this pull request?

With the new stack model we are now merging the context changes across main and background contexts via notification. But this merge results in concurrency violation. This PR fixes that issue by issuing the merge in the context's performBlock

Updated the Example project to use a background context(on trashing all company data objects) linked to parent background context to cover all bases.

@codecov-io
Copy link

codecov-io commented Jun 1, 2016

Current coverage is 95.60%

Merging #83 into develop will increase coverage by <.01%

@@            develop        #83   diff @@
==========================================
  Files            28         28          
  Lines          1679       1681     +2   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           1605       1607     +2   
  Misses           74         74          
  Partials          0          0          

Powered by Codecov. Last updated by 14b5cee...b8c20e2

@jessesquires jessesquires added this to the 4.0.1 milestone Jun 2, 2016
@jessesquires
Copy link
Owner

Awesome 🎉

Thanks @saurabytes ! 😄

@jessesquires jessesquires merged commit 66e5470 into jessesquires:develop Jun 2, 2016
@jessesquires
Copy link
Owner

Just released v4.0.1 and pushed to CocoaPods. 👍

Thanks again @saurabytes ! Perfect PR.

@jessesquires
Copy link
Owner

hey @saurabytes -- this was a great PR. i've sent you an invite to be a collaborator 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants