Changeset [03e7d81ffa79887d2f45adefdadd427e9d7ec7f6] by Klaas Pieter Annema
Revision 03e7d81ffa79887d2f45adefdadd427e9d7ec7f6,
committed by Klaas Pieter Annema
· April 25th, 2011 @ 11:34 PM
fail more gracefully when attempting to remove the same observer twice
Before this commit we would fail gracefully for single keys. For
key paths an application would crash because we would try to get
the forwarder property of an undefined object. This commit makes
sure we don't attempt any removal and logs a warning (just like
Cocoa) about the attempt to remove an unregistered observer.
https://github.com/280north/cappuccino/commit/03e7d81ffa79887d2f45a...
1 changed file
-
M
Foundation/CPKeyValueObserving.j