Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #191 from mbrandonw/patch-1

Call completion handler on main thread.
  • Loading branch information...
commit f696791d9d57bc7697d3e3639a0281016840fb03 2 parents 29b598a + c639ce4
@casademora casademora authored
View
2  MagicalRecord/Categories/NSManagedObjectContext/NSManagedObjectContext+MagicalSaves.m
@@ -98,7 +98,7 @@ - (void) MR_saveInBackgroundErrorHandler:(void (^)(NSError *))errorCallback comp
if (completion)
{
- completion();
+ dispatch_async(dispatch_get_main_queue(), completion);
}
}];
}
Please sign in to comment.
Something went wrong with that request. Please try again.