<div dir="ltr"><div><div>Hello,<br><br></div>In platforms with managed code (.NET, Java), objects are automatically freed by the memory manager / garbage collector.<br><br></div><span id="result_box" class="" lang="en"><span class="">Would not it be</span> <span class="">interesting to have</span> <span class="">a similar</span> <span class="">feature in</span> FPC<span class="">?</span></span><div id="itamenu"><span id="result_box" class="" lang="en"><span class=""><br>For example,</span> <span class="">through a</span> root <span class="">class where its objects are counted by reference, like the TInterfacedObjects.</span></span><span id="result_box" class="" lang="en"><span class=""><span id="result_box" class="" lang="en"><span class=""> Thus</span><span>, the programmer</span> <span class="">would be free</span> <span class="">from having to manually</span> <span class="">release objects</span><span class="">.</span></span></span><span class=""><br><br></span></span></div><div id="itamenu"><span id="result_box" class="" lang="en"><span class="">Best regards<br></span></span></div><span id="result_box" class="" lang="en"><span class=""></span></span><span id="result_box" class="" lang="en"><span class=""></span></span></div>