From 3a289007e40603f724d27f8ca0824075ad005e79 Mon Sep 17 00:00:00 2001 From: mltownsend Date: Fri, 4 Dec 2009 00:13:13 +0000 Subject: Moved the SPUserMO source into the Core Data folder with the model. Added comments to SPUserManager --- Source/SPUserManager.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source') diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m index dc18659d..37824f47 100644 --- a/Source/SPUserManager.m +++ b/Source/SPUserManager.m @@ -576,6 +576,8 @@ - (void)contextDidSave:(NSNotification *)notification { NSManagedObjectContext *notificationContext = (NSManagedObjectContext *)[notification object]; + // If there are multiple user manager windows open, it's possible to get this + // notification from foreign windows. Ignore those notifications. if (notificationContext != self.managedObjectContext) return; if (!isInitializing) -- cgit v1.2.3