Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 2504

why ReportMemoryLeaksOnShutdown := True reports memory leak on all edits-based components (Edit, Memo, ListBox, etc...)

$
0
0

hi all,

 

im testing many components by Embarcadero, using just RAD Studio XE10.2 Tokyo (none another suite components)

and

ALMOST ALL COMPONENTS edit-based in Edit strings ornumeric

where we can "to edit" strings, as EDIT, MEMO, LISTBOX, EDIT for numeric, DateEdit, etc... 

where using ReportMemoryLeaksOnShutdown := True (in View Source, DPR unit) to catch any memory leaks on terminate one app with ONLY ONE "TFORM" FIREMONKEY and any component above create in DesingTime, for example, show that occurred one "memory leaks" in app ended?

In Marcu Cantu blog, show as end this abnormal fact, but... why e when will be solved?

 

How tested?  

0-  one new Application Firemonkey running in Win32 platform

1- just one TForm, as expected

2- any component edit-based 

3- runnig in Debug or not mode

 

Note: the msg is showed only if the component exist in the tform, if you can delete the component of the form, the msg goes down, same the unit stay in clause "uses"

note: in my tests, just call "CheckSynchronize()"  in any unit with section "Finalization" solve this anomaly.

 

note: excuse for my english


Viewing all articles
Browse latest Browse all 2504


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>