[fpc-devel] Order of Observer notification (fpObserver)
Michael Van Canneyt
michael at freepascal.org
Mon Apr 21 19:27:24 CEST 2014
On Mon, 21 Apr 2014, luiz americo pereira camara wrote:
> I just notice that the observers are notified in reverse order (see TPersistent.FPONotifyObservers), i.e., last attached observer is notified first.
> Is this the intended behavior?
> Any special reason?
> It was expecting that the observers were notified in attached order
You should not expect anything. No order is guaranteed.
More information about the fpc-devel