Memory Leak on RXPopUpUnit
Original Reporter info from Mantis: dopidaniel
-
Reporter name: Daniel Simões de Almeida
Original Reporter info from Mantis: dopidaniel
- Reporter name: Daniel Simões de Almeida
Description:
RxPopUpUnit does not Free from memory Internal PopUp Form... This causes varios Memory Leaks
There is a code to Free the PopUp Form, but it is never called
This patch, just assign the FormClose event, so it runs the clean up code...
Additional information:
constructor TPopUpForm.CreatePopUp(AOwner: TComponent;
APopUpFormOptions:TPopUpFormOptions; AFieldList:string; BtnWidtn:integer);
var
PopupOrigin:TPoint;
begin
inherited CreateNew(nil);
.....
OnClose := @FormClose; <- LINE ADDED
Mantis conversion info:
- Mantis ID: 20464