TCollection notify observers even between Begin/EndUpdate pair
Original Reporter info from Mantis: luizamerico
-
Reporter name: Luiz Americo
Original Reporter info from Mantis: luizamerico
- Reporter name: Luiz Americo
Description:
TCollection does not respect BeginUpdate / EndUpdate regarding observer notification
The attached patch fixes this. It also prevents an unbalanced EndUpdate to mess the update mechanism.
Also attached a test.
Mantis conversion info:
- Mantis ID: 25820
- Fixed in version: 3.0.0
- Fixed in revision: 26959 (#15bb6b2c)
- Target version: 3.0.0