[patch] RTTIControls trigger unnecessary AV/SIGSEGV when destroying controls that point to already-destroyed TPersistent
Original Reporter info from Mantis: etrusco
-
Reporter name: Flávio Etrusco
Original Reporter info from Mantis: etrusco
- Reporter name: Flávio Etrusco
Description:
RTTIControls (e.g. TTIEdit) trigger AV/SIGSEGV on destructor when Edit.Link.TIObject points to already-destroyed TPersistent (e.g. the TTIEdit is published on the form and the TPersistent is freed on form.OnDestroy).
Patch attached.
Mantis conversion info:
- Mantis ID: 20020
- Version: 0.9.31 (SVN)
- Fixed in revision: r32013 (#d0be101a)