TComponent.Destroying not called in BeforeDestruction
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
TComponent.Destroying is called in Destroy, however if you have an overridden destructor, the csDestroying flag isn't set until inhereted destroy is called.
In Delphi the call to Destroying is done in TComponent.BeforeDestruction
Additional information:
Reporter: Marc Weustink
EMail: marc at freepascal dot org
Mantis conversion info:
- Mantis ID: 5212
- OS: All
- Version: 1.9.4
- Fixed in version: 1.9.5