Changeset [cde179786cfe3647fbde646b3a5a2c26d9a5ef09] by Klaas Pieter Annema
April 25th, 2011 @ 11:19 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/cde179786cfe3647fbde6...
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.