Changeset [03e7d81ffa79887d2f45adefdadd427e9d7ec7f6] 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...
Committed by Klaas Pieter Annema
- M Foundation/CPKeyValueObserving.j
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.