Removed mistaken exception, it's okay if didChangeValueForKey: is called without willChangeValueForKey:

This commit is contained in:
Aparajita Fishman
2011-08-24 01:35:33 -04:00
parent 8545195cd7
commit c5d602bd6d
+1 -1
View File
@@ -775,7 +775,7 @@ var kvoNewAndOld = CPKeyValueObservingOptionNew | CPKeyValueObservingOpti
else
{
if (!changes)
[CPException raise:@"CPKeyValueObservingException" reason:@"'didChange...' message called without prior call of 'willChange...'"];
return;
[changes removeObjectForKey:CPKeyValueChangeNotificationIsPriorKey];