Skip to content

Commit

Permalink
DIY: Adding orginal lines commented out in case I rollback manually l…
Browse files Browse the repository at this point in the history
…ater
  • Loading branch information
dav committed Jan 16, 2012
1 parent ea970a2 commit bcba846
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Categories/NSManagedObjectContext+MagicalRecord.m
Expand Up @@ -142,6 +142,7 @@ - (void) MR_mergeChangesOnMainThread:(NSNotification *)notification;
}
else
{
// [self performSelectorOnMainThread:@selector(MR_mergeChangesFromNotification:) withObject:notification waitUntilDone:YES];
[self runOnMainQueueWithoutDeadlocking:^{
[self MR_mergeChangesFromNotification:notification];
}];
Expand Down Expand Up @@ -222,6 +223,7 @@ - (BOOL) MR_saveOnMainThread;
{
@synchronized(self)
{
// [self performSelectorOnMainThread:@selector(MR_saveWrapper) withObject:nil waitUntilDone:YES];
[self runOnMainQueueWithoutDeadlocking:^{
[self MR_saveWrapper];
}];
Expand Down

0 comments on commit bcba846

Please sign in to comment.