magicalpanda/MagicalRecord — Issue #88: saveDataInBackgroundWithBlock: localContext different from contextForThread
Author: haemi
Created: 2011-11-23 09:35:50+00:00
State: open

Shouldn't these two contexts be equal?

[MagicalRecordHelpers performSaveDataOperationInBackgroundWithBlock:^(NSManagedObjectContext *localContext) {
ALog(@"context 1: %@ context 2: %@", localContext, [NSManagedObjectContext MR_contextForCurrentThread]);
} completion:^{
}];

Both contexts are in the same thread, so why are they different?