Changeset [bb0972ba499290434d5ce977fa250466777f8506] by Alexander Ljungberg
Revision bb0972ba499290434d5ce977fa250466777f8506,
committed by Alexander Ljungberg
· December 1st, 2011 @ 08:18 AM
Fixed: notifications were sent to removed observers.
If one observer of a notification centre notification removed another observer, that other observer would still be notified even that it was no longer observing.
Now the code agrees with its comments.
https://github.com/cappuccino/cappuccino/commit/bb0972ba499290434d5...
2 changed files
-
A
Tests/Foundation/CPNotificationCenterTest.j -
M
Foundation/CPNotificationCenter.j